CWD: /var/www/html/sinergiattiva/public_html/koc/app

*** IMPORT ALL starting ... ***

START 2026-09-28 09:33:10
ANAGRA 2026-09-28 09:33:12
 + syncAnanaz
[2026-09-28 09:33:12] Start getOdataApiRecords: Countries, filter: , select:
[2026-09-28 09:33:12] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/DYN/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-28 09:33:12] DEBUG - Complete API endpoint: Countries
[2026-09-28 09:33:12] DEBUG - Full URL (attempt #1): https://odata.kocca.it:7068/ProdNUP/api/DYN/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/Countries
[2026-09-28 09:33:12] DEBUG - URL length: 118
[2026-09-28 09:33:13] DEBUG - HTTP Code: 200
[2026-09-28 09:33:13] DEBUG - Response length: 29303
[2026-09-28 09:33:13] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/DYN/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/Countries","value":[{"id":"999e528d-1c67-ed11-823f-00224881ec17","code":"AB","displayName":"Antigua e Barbuda","isoCode":"AG","addressFormat":"City+Post Code","lastModifiedDateTime":"2024-01-15T15:23:57.463Z","registeredPostalCode":false},{"id":"9a9e528d-1c67-ed11-823f-00224881ec17","code":"AD","displayName":"Andorra","isoCode":"AD","addressFormat":"City+Post
[2026-09-28 09:33:13] DEBUG - Records in this batch: 139
[2026-09-28 09:33:13] SUCCESS - API data fetched, total rows: 139
[2026-09-28 09:33:13] End getOdataApiRecords: Countries
 + syncAnagra
[2026-09-28 09:33:13] Start getOdataApiRecords: Customers, filter: useBlocked eq ' ' or useBlocked eq 'BSP01' or useBlocked eq 'BSP02S' or useBlocked eq 'BINS', select:
[2026-09-28 09:33:13] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-28 09:33:13] DEBUG - Filter BEFORE encoding: useBlocked eq ' ' or useBlocked eq 'BSP01' or useBlocked eq 'BSP02S' or useBlocked eq 'BINS'
[2026-09-28 09:33:13] DEBUG - Complete API endpoint: Customers?$filter=useBlocked+eq+%27+%27+or+useBlocked+eq+%27BSP01%27+or+useBlocked+eq+%27BSP02S%27+or+useBlocked+eq+%27BINS%27
[2026-09-28 09:33:13] DEBUG - Full URL (attempt #1): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/Customers?$filter=useBlocked+eq+%27+%27+or+useBlocked+eq+%27BSP01%27+or+useBlocked+eq+%27BSP02S%27+or+useBlocked+eq+%27BINS%27
[2026-09-28 09:33:13] DEBUG - URL length: 235
[2026-09-28 09:33:23] DEBUG - HTTP Code: 200
[2026-09-28 09:33:23] DEBUG - Response length: 14174307
[2026-09-28 09:33:23] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/Customers","value":[{"no":"2013CLI00000078","name":"kocca*","vatRegistrationNo":"01183350915","address":"PIAZZA SAN GIOVANNI 3","city":"NUORO","territoryCode":"SAR","postCode":"08100","county":"NU","country":"IT","eMail":"curreligiuseppe@gmail.com","phoneNo":"0784255029","customerPriceGroup":"000","paymentTermsCode":"ANTICIPATO","paymentMethodCode":"BONIFICO",
[2026-09-28 09:33:23] DEBUG - Records in this batch: 18607
[2026-09-28 09:33:23] SUCCESS - API data fetched, total rows: 18607
[2026-09-28 09:33:23] End getOdataApiRecords: Customers
 + syncDesmer
[2026-09-28 09:34:16] Start getOdataApiRecords: ShiptoAddresses, filter: , select:
[2026-09-28 09:34:16] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-28 09:34:16] DEBUG - Complete API endpoint: ShiptoAddresses
[2026-09-28 09:34:16] DEBUG - Full URL (attempt #1): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/ShiptoAddresses
[2026-09-28 09:34:16] DEBUG - URL length: 124
[2026-09-28 09:34:22] DEBUG - HTTP Code: 200
[2026-09-28 09:34:22] DEBUG - Response length: 9169216
[2026-09-28 09:34:22] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/ShiptoAddresses","value":[{"customerNo":"2013CLI00000078","code":"000","name":"kocca*","name2":"","address":"PIAZZA SAN GIOVANNI 3","address2":"","city":"NUORO","contact":"","phoneNo":"0784255029","telexNo":"","shipmentMethodCode":"ASS","shippingAgentCode":"BRT","placeofExport":"","countryRegionCode":"IT","lastDateModified":"1900-01-01","locationCode":"G-PF","
[2026-09-28 09:34:23] DEBUG - Records in this batch: 14952
[2026-09-28 09:34:23] SUCCESS - API data fetched, total rows: 14952
[2026-09-28 09:34:23] End getOdataApiRecords: ShiptoAddresses
 + syncAnaage
[2026-09-28 09:34:40] Start getOdataApiRecords: SalespersonCustomers, filter: , select:
[2026-09-28 09:34:40] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-28 09:34:40] DEBUG - Complete API endpoint: SalespersonCustomers
[2026-09-28 09:34:40] DEBUG - Full URL (attempt #1): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers
[2026-09-28 09:34:40] DEBUG - URL length: 129
[2026-09-28 09:34:49] DEBUG - HTTP Code: 200
[2026-09-28 09:34:49] DEBUG - Response length: 3881656
[2026-09-28 09:34:49] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers","value":[{"salesPersonCode":"0010077","campaignCode":"AI24-25","zonaStatCode":"IT-SAR-1","brandCode":"KOC","customerNo":"C0010152","group":2,"starting_Date_FilterOnly":null,"ending_Date_FilterOnly":null},{"salesPersonCode":"0010077","campaignCode":"AI24-25","zonaStatCode":"IT-SAR-1","brandCode":"KOC","customerNo":"C0010157","group":2,"sta
[2026-09-28 09:34:49] DEBUG - Next URL found: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers?$skiptoken='0020746','AI26-27','IT-ABR-1','KOCK','C0011440'
[2026-09-28 09:34:49] DEBUG - Skiptoken extracted: '0020746','AI26-27','IT-ABR-1','KOCK','C0011440'
[2026-09-28 09:34:49] DEBUG - Records in this batch: 20000
[2026-09-28 09:34:49] DEBUG - Full URL (attempt #2): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers?$skiptoken=%270020746%27%2C%27AI26-27%27%2C%27IT-ABR-1%27%2C%27KOCK%27%2C%27C0011440%27
[2026-09-28 09:34:49] DEBUG - URL length: 217
[2026-09-28 09:34:55] DEBUG - HTTP Code: 200
[2026-09-28 09:34:55] DEBUG - Response length: 3905509
[2026-09-28 09:34:55] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers","value":[{"salesPersonCode":"0020746","campaignCode":"AI26-27","zonaStatCode":"IT-ABR-1","brandCode":"KOCK","customerNo":"C0011640","group":1,"starting_Date_FilterOnly":null,"ending_Date_FilterOnly":null},{"salesPersonCode":"0020746","campaignCode":"AI26-27","zonaStatCode":"IT-ABR-1","brandCode":"KOCK","customerNo":"C0011727","group":1,"s
[2026-09-28 09:34:55] DEBUG - Next URL found: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers?$skiptoken='0022221','PE25','IT-PUG-1','SOGOLD','C0012395'
[2026-09-28 09:34:55] DEBUG - Skiptoken extracted: '0022221','PE25','IT-PUG-1','SOGOLD','C0012395'
[2026-09-28 09:34:55] DEBUG - Records in this batch: 20000
[2026-09-28 09:34:55] DEBUG - Full URL (attempt #3): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers?$skiptoken=%270022221%27%2C%27PE25%27%2C%27IT-PUG-1%27%2C%27SOGOLD%27%2C%27C0012395%27
[2026-09-28 09:34:55] DEBUG - URL length: 216
[2026-09-28 09:35:00] DEBUG - HTTP Code: 200
[2026-09-28 09:35:00] DEBUG - Response length: 3888798
[2026-09-28 09:35:00] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers","value":[{"salesPersonCode":"0022221","campaignCode":"PE25","zonaStatCode":"IT-PUG-1","brandCode":"SOGOLD","customerNo":"C0012455","group":1,"starting_Date_FilterOnly":null,"ending_Date_FilterOnly":null},{"salesPersonCode":"0022221","campaignCode":"PE25","zonaStatCode":"IT-PUG-1","brandCode":"SOGOLD","customerNo":"C0012475","group":1,"sta
[2026-09-28 09:35:00] DEBUG - Next URL found: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers?$skiptoken='0024787','AI25-26','IT-CAL-1','KOC','C0014669'
[2026-09-28 09:35:00] DEBUG - Skiptoken extracted: '0024787','AI25-26','IT-CAL-1','KOC','C0014669'
[2026-09-28 09:35:00] DEBUG - Records in this batch: 20000
[2026-09-28 09:35:00] DEBUG - Full URL (attempt #4): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers?$skiptoken=%270024787%27%2C%27AI25-26%27%2C%27IT-CAL-1%27%2C%27KOC%27%2C%27C0014669%27
[2026-09-28 09:35:00] DEBUG - URL length: 216
[2026-09-28 09:35:08] DEBUG - HTTP Code: 200
[2026-09-28 09:35:08] DEBUG - Response length: 3883887
[2026-09-28 09:35:08] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers","value":[{"salesPersonCode":"0024787","campaignCode":"AI25-26","zonaStatCode":"IT-CAL-1","brandCode":"KOC","customerNo":"C0014952","group":1,"starting_Date_FilterOnly":null,"ending_Date_FilterOnly":null},{"salesPersonCode":"0024787","campaignCode":"AI25-26","zonaStatCode":"IT-CAL-1","brandCode":"KOC","customerNo":"C0015087","group":1,"sta
[2026-09-28 09:35:08] DEBUG - Next URL found: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers?$skiptoken='0025559','PE24','IT-SIC-1','SOGOLD','C0021764'
[2026-09-28 09:35:08] DEBUG - Skiptoken extracted: '0025559','PE24','IT-SIC-1','SOGOLD','C0021764'
[2026-09-28 09:35:08] DEBUG - Records in this batch: 20000
[2026-09-28 09:35:08] DEBUG - Full URL (attempt #5): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers?$skiptoken=%270025559%27%2C%27PE24%27%2C%27IT-SIC-1%27%2C%27SOGOLD%27%2C%27C0021764%27
[2026-09-28 09:35:08] DEBUG - URL length: 216
[2026-09-28 09:35:11] DEBUG - HTTP Code: 200
[2026-09-28 09:35:11] DEBUG - Response length: 2120813
[2026-09-28 09:35:11] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonCustomers","value":[{"salesPersonCode":"0025559","campaignCode":"PE24","zonaStatCode":"IT-SIC-1","brandCode":"SOGOLD","customerNo":"C0021766","group":1,"starting_Date_FilterOnly":null,"ending_Date_FilterOnly":null},{"salesPersonCode":"0025559","campaignCode":"PE24","zonaStatCode":"IT-SIC-1","brandCode":"SOGOLD","customerNo":"C0021767","group":1,"sta
[2026-09-28 09:35:11] DEBUG - Records in this batch: 10925
[2026-09-28 09:35:11] SUCCESS - API data fetched, total rows: 90925
[2026-09-28 09:35:11] End getOdataApiRecords: SalespersonCustomers
 + syncUtenti
[2026-09-28 09:36:46] Start getOdataApiRecords: ApiUsers_Web, filter: UserEnabled eq true, select:
[2026-09-28 09:36:46] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-28 09:36:46] DEBUG - Filter BEFORE encoding: UserEnabled eq true
[2026-09-28 09:36:46] DEBUG - Complete API endpoint: ApiUsers_Web?$filter=UserEnabled+eq+true
[2026-09-28 09:36:46] DEBUG - Full URL (attempt #1): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/ApiUsers_Web?$filter=UserEnabled+eq+true
[2026-09-28 09:36:46] DEBUG - URL length: 149
[2026-09-28 09:36:48] DEBUG - HTTP Code: 200
[2026-09-28 09:36:48] DEBUG - Response length: 2269740
[2026-09-28 09:36:48] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/ApiUsers_Web","value":[{"@odata.etag":"W/\"JzE5OzU4OTkzMjI1MTU3Mjk2MzA5MzIxOzAwOyc=\"","UserGuid":"aaae1b46-9cd2-479a-a588-003858cf8ecc","UserCode":"C0023541","UserName":"BON TON S.R.L.S.","UserBadgeurl":"","UserUsername":"0023541","UserPassword":"K1244G","UserEnabled":true,"UserDefaultPricekm":0,"UserMainOffice":"","UserUrlYoutube":"https://www.youtube.com/us
[2026-09-28 09:36:48] DEBUG - Records in this batch: 2057
[2026-09-28 09:36:48] SUCCESS - API data fetched, total rows: 2057
[2026-09-28 09:36:48] End getOdataApiRecords: ApiUsers_Web
 + syncAnareg
[2026-09-28 09:36:49] Start getOdataApiRecords: koccatradeagreements, filter: startingDate le 2026-09-28 and endingDate ge 2026-09-28, select:
[2026-09-28 09:36:49] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-28 09:36:49] DEBUG - Filter BEFORE encoding: startingDate le 2026-09-28 and endingDate ge 2026-09-28
[2026-09-28 09:36:49] DEBUG - Complete API endpoint: koccatradeagreements?$filter=startingDate+le+2026-09-28+and+endingDate+ge+2026-09-28
[2026-09-28 09:36:49] DEBUG - Full URL (attempt #1): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/koccatradeagreements?$filter=startingDate+le+2026-09-28+and+endingDate+ge+2026-09-28
[2026-09-28 09:36:49] DEBUG - URL length: 193
[2026-09-28 09:36:51] DEBUG - HTTP Code: 200
[2026-09-28 09:36:51] DEBUG - Response length: 1580373
[2026-09-28 09:36:51] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/koccatradeagreements","value":[{"reorderValue":0,"returnValue":0,"stockValue":0,"substitutionValue":0,"allowInvoiceDisc":true,"allowLineDisc":false,"code":"AI25-26","customerNo":"C0010004","dimension1Code":"AI25-26","dimension2Code":"RIASS","dimension3Code":"KOC","dimension4Code":"","dimension5Code":"","endingDate":"2026-12-31","invoiceDiscount":0,"lineDiscoun
[2026-09-28 09:36:52] DEBUG - Records in this batch: 2986
[2026-09-28 09:36:52] SUCCESS - API data fetched, total rows: 2986
[2026-09-28 09:36:52] End getOdataApiRecords: koccatradeagreements
 + syncAgeanaCustomer
[2026-09-28 09:36:53] Start getOdataApiRecords: SalespersonShipToAddresses, filter: , select:
[2026-09-28 09:36:53] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-28 09:36:53] DEBUG - Complete API endpoint: SalespersonShipToAddresses
[2026-09-28 09:36:53] DEBUG - Full URL (attempt #1): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonShipToAddresses
[2026-09-28 09:36:53] DEBUG - URL length: 135
[2026-09-28 09:37:01] DEBUG - HTTP Code: 200
[2026-09-28 09:37:01] DEBUG - Response length: 13424521
[2026-09-28 09:37:01] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonShipToAddresses","value":[{"salesPersonCode":"","customerNo":"2013CLI00000078","code":"000","name":"kocca*","name2":"","address":"PIAZZA SAN GIOVANNI 3","address2":"","city":"NUORO","contact":"","phoneNo":"0784255029","telexNo":"","shipmentMethodCode":"ASS","shippingAgentCode":"BRT","placeofExport":"","countryRegionCode":"IT","lastDateModified":"190
[2026-09-28 09:37:02] DEBUG - Next URL found: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonShipToAddresses?$skiptoken='0025467','C0021895','001%20AVERSA','C0021895'
[2026-09-28 09:37:02] DEBUG - Skiptoken extracted: '0025467','C0021895','001 AVERSA','C0021895'
[2026-09-28 09:37:02] DEBUG - Records in this batch: 20000
[2026-09-28 09:37:02] DEBUG - Full URL (attempt #2): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonShipToAddresses?$skiptoken=%270025467%27%2C%27C0021895%27%2C%27001+AVERSA%27%2C%27C0021895%27
[2026-09-28 09:37:02] DEBUG - URL length: 213
[2026-09-28 09:37:05] DEBUG - HTTP Code: 200
[2026-09-28 09:37:05] DEBUG - Response length: 4761627
[2026-09-28 09:37:05] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/SalespersonShipToAddresses","value":[{"salesPersonCode":"0025467","customerNo":"C0021895","code":"002TEVEROL","name":"F.LLI CANGIANO","name2":"","address":"VIA ORTO FONTANA I TRAVERSA, 3","address2":"","city":"TRENTOLA-DUCENTA","contact":"","phoneNo":"","telexNo":"","shipmentMethodCode":"DAP","shippingAgentCode":"TNT","placeofExport":"","countryRegionCode":"IT
[2026-09-28 09:37:06] DEBUG - Records in this batch: 7138
[2026-09-28 09:37:06] SUCCESS - API data fetched, total rows: 27138
[2026-09-28 09:37:06] End getOdataApiRecords: SalespersonShipToAddresses
 + syncCommissionRules
[2026-09-28 09:37:12] Start getOdataApiRecords: koccacommissionrules, filter: , select:
[2026-09-28 09:37:12] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-28 09:37:12] DEBUG - Complete API endpoint: koccacommissionrules
[2026-09-28 09:37:12] DEBUG - Full URL (attempt #1): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/koccacommissionrules
[2026-09-28 09:37:12] DEBUG - URL length: 129
[2026-09-28 09:37:16] DEBUG - HTTP Code: 200
[2026-09-28 09:37:16] DEBUG - Response length: 5564500
[2026-09-28 09:37:16] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/koccacommissionrules","value":[{"commission":0,"commissionType":"%","customerNo":"","customerPriceGroup":"","dimension1Code":"AI14-15","dimension2Code":"IT-TRE-1","dimension3Code":"","dimension4Code":"KOC","dimension5Code":"","elementNo":1,"endingDate":"9999-12-31","fixedAmount":0,"itemCategoryCode":"","itemNo":"","lastModifiedDate":"2024-02-08","lastModifiedT
[2026-09-28 09:37:16] DEBUG - Records in this batch: 11060
[2026-09-28 09:37:16] SUCCESS - API data fetched, total rows: 11060
[2026-09-28 09:37:16] End getOdataApiRecords: koccacommissionrules
 + syncWebDelivery
[2026-09-28 09:37:19] Start getOdataApiRecords: webdeliverydates, filter: webActive eq 1 and startingDate le 2026-09-28T00:00:00Z and endingDate ge 2026-09-28T00:00:00Z, select:
[2026-09-28 09:37:19] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-28 09:37:19] DEBUG - Filter BEFORE encoding: webActive eq 1 and startingDate le 2026-09-28T00:00:00Z and endingDate ge 2026-09-28T00:00:00Z
[2026-09-28 09:37:19] DEBUG - Complete API endpoint: webdeliverydates?$filter=webActive+eq+1+and+startingDate+le+2026-09-28T00%3A00%3A00Z+and+endingDate+ge+2026-09-28T00%3A00%3A00Z
[2026-09-28 09:37:19] DEBUG - Full URL (attempt #1): https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/webdeliverydates?$filter=webActive+eq+1+and+startingDate+le+2026-09-28T00%3A00%3A00Z+and+endingDate+ge+2026-09-28T00%3A00%3A00Z
[2026-09-28 09:37:19] DEBUG - URL length: 236
[2026-09-28 09:37:20] DEBUG - HTTP Code: 200
[2026-09-28 09:37:20] DEBUG - Response length: 10054
[2026-09-28 09:37:20] DEBUG - Raw response (first 500 chars): {"@odata.context":"https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/$metadata#companies(ad5ffe68-486f-ee11-823f-00224881ec17)/webdeliverydates","value":[{"campaignNo":"AI24-25","code1PRS":"KOC","date1PRS":"2024-05-31T22:00:00Z","description":"A/I 2024-25","endingDate":"2026-12-30T23:00:00Z","opt1PRS":1,"opt2PRS":0,"requestedDeliveryDate":"2022-12-31T23:00:00Z","requestedDeliveryDateLimit":"2024-12-30T23:00:00Z","startingDate":"2022-12-31T23:00:00Z","webActive":1,"webDeliveryDateId":"
[2026-09-28 09:37:20] DEBUG - Records in this batch: 26
[2026-09-28 09:37:20] SUCCESS - API data fetched, total rows: 26
[2026-09-28 09:37:20] End getOdataApiRecords: webdeliverydates
 + postImportAna
Orders unlocked in finally.
END 2026-09-28 09:37:47

4.62 minute(s)
