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

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

START 2026-09-30 15:00:00
ANAGRA 2026-09-30 15:00:02
 + syncAnanaz
[2026-09-30 15:00:02] Start getOdataApiRecords: Countries, filter: , select:
[2026-09-30 15:00:02] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/DYN/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-30 15:00:02] DEBUG - Complete API endpoint: Countries
[2026-09-30 15:00:02] 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-30 15:00:02] DEBUG - URL length: 118
[2026-09-30 15:00:03] DEBUG - HTTP Code: 200
[2026-09-30 15:00:03] DEBUG - Response length: 29303
[2026-09-30 15:00:03] 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-30 15:00:03] DEBUG - Records in this batch: 139
[2026-09-30 15:00:03] SUCCESS - API data fetched, total rows: 139
[2026-09-30 15:00:03] End getOdataApiRecords: Countries
 + syncAnagra
[2026-09-30 15:00:03] Start getOdataApiRecords: Customers, filter: useBlocked eq ' ' or useBlocked eq 'BSP01' or useBlocked eq 'BSP02S' or useBlocked eq 'BINS', select:
[2026-09-30 15:00:03] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-30 15:00:03] DEBUG - Filter BEFORE encoding: useBlocked eq ' ' or useBlocked eq 'BSP01' or useBlocked eq 'BSP02S' or useBlocked eq 'BINS'
[2026-09-30 15:00:03] 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-30 15:00:03] 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-30 15:00:03] DEBUG - URL length: 235
[2026-09-30 15:00:13] DEBUG - HTTP Code: 200
[2026-09-30 15:00:13] DEBUG - Response length: 14174950
[2026-09-30 15:00:13] 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-30 15:00:14] DEBUG - Records in this batch: 18608
[2026-09-30 15:00:14] SUCCESS - API data fetched, total rows: 18608
[2026-09-30 15:00:14] End getOdataApiRecords: Customers
 + syncDesmer
[2026-09-30 15:01:21] Start getOdataApiRecords: ShiptoAddresses, filter: , select:
[2026-09-30 15:01:21] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-30 15:01:21] DEBUG - Complete API endpoint: ShiptoAddresses
[2026-09-30 15:01:21] 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-30 15:01:21] DEBUG - URL length: 124
[2026-09-30 15:01:27] DEBUG - HTTP Code: 200
[2026-09-30 15:01:27] DEBUG - Response length: 9170358
[2026-09-30 15:01:27] 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-30 15:01:27] DEBUG - Records in this batch: 14954
[2026-09-30 15:01:27] SUCCESS - API data fetched, total rows: 14954
[2026-09-30 15:01:27] End getOdataApiRecords: ShiptoAddresses
 + syncAnaage
[2026-09-30 15:01:51] Start getOdataApiRecords: SalespersonCustomers, filter: , select:
[2026-09-30 15:01:51] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-30 15:01:51] DEBUG - Complete API endpoint: SalespersonCustomers
[2026-09-30 15:01:51] 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-30 15:01:51] DEBUG - URL length: 129
[2026-09-30 15:01:58] DEBUG - HTTP Code: 200
[2026-09-30 15:01:58] DEBUG - Response length: 3881628
[2026-09-30 15:01:58] 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-30 15:01:58] 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','C0010873'
[2026-09-30 15:01:58] DEBUG - Skiptoken extracted: '0020746','AI26-27','IT-ABR-1','KOCK','C0010873'
[2026-09-30 15:01:58] DEBUG - Records in this batch: 20000
[2026-09-30 15:01:58] 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%27C0010873%27
[2026-09-30 15:01:58] DEBUG - URL length: 217
[2026-09-30 15:02:02] DEBUG - HTTP Code: 200
[2026-09-30 15:02:02] DEBUG - Response length: 3905524
[2026-09-30 15:02:02] 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":"C0010874","group":1,"starting_Date_FilterOnly":null,"ending_Date_FilterOnly":null},{"salesPersonCode":"0020746","campaignCode":"AI26-27","zonaStatCode":"IT-ABR-1","brandCode":"KOCK","customerNo":"C0010875","group":1,"s
[2026-09-30 15:02:03] 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','C0012309'
[2026-09-30 15:02:03] DEBUG - Skiptoken extracted: '0022221','PE25','IT-PUG-1','SOGOLD','C0012309'
[2026-09-30 15:02:03] DEBUG - Records in this batch: 20000
[2026-09-30 15:02:03] 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%27C0012309%27
[2026-09-30 15:02:03] DEBUG - URL length: 216
[2026-09-30 15:02:07] DEBUG - HTTP Code: 200
[2026-09-30 15:02:07] DEBUG - Response length: 3888798
[2026-09-30 15:02:07] 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":"C0012310","group":1,"starting_Date_FilterOnly":null,"ending_Date_FilterOnly":null},{"salesPersonCode":"0022221","campaignCode":"PE25","zonaStatCode":"IT-PUG-1","brandCode":"SOGOLD","customerNo":"C0012313","group":1,"sta
[2026-09-30 15:02:07] 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','C0013612'
[2026-09-30 15:02:07] DEBUG - Skiptoken extracted: '0024787','AI25-26','IT-CAL-1','KOC','C0013612'
[2026-09-30 15:02:07] DEBUG - Records in this batch: 20000
[2026-09-30 15:02:07] 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%27C0013612%27
[2026-09-30 15:02:07] DEBUG - URL length: 216
[2026-09-30 15:02:11] DEBUG - HTTP Code: 200
[2026-09-30 15:02:11] DEBUG - Response length: 3883887
[2026-09-30 15:02: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":"0024787","campaignCode":"AI25-26","zonaStatCode":"IT-CAL-1","brandCode":"KOC","customerNo":"C0013613","group":1,"starting_Date_FilterOnly":null,"ending_Date_FilterOnly":null},{"salesPersonCode":"0024787","campaignCode":"AI25-26","zonaStatCode":"IT-CAL-1","brandCode":"KOC","customerNo":"C0013614","group":1,"sta
[2026-09-30 15:02:11] 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','C0021058'
[2026-09-30 15:02:11] DEBUG - Skiptoken extracted: '0025559','PE24','IT-SIC-1','SOGOLD','C0021058'
[2026-09-30 15:02:11] DEBUG - Records in this batch: 20000
[2026-09-30 15:02:11] 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%27C0021058%27
[2026-09-30 15:02:11] DEBUG - URL length: 216
[2026-09-30 15:02:14] DEBUG - HTTP Code: 200
[2026-09-30 15:02:14] DEBUG - Response length: 2123738
[2026-09-30 15:02:14] 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":"C0021117","group":1,"starting_Date_FilterOnly":null,"ending_Date_FilterOnly":null},{"salesPersonCode":"0025559","campaignCode":"PE24","zonaStatCode":"IT-SIC-1","brandCode":"SOGOLD","customerNo":"C0021150","group":1,"sta
[2026-09-30 15:02:14] DEBUG - Records in this batch: 10940
[2026-09-30 15:02:14] SUCCESS - API data fetched, total rows: 90940
[2026-09-30 15:02:14] End getOdataApiRecords: SalespersonCustomers
 + syncUtenti
[2026-09-30 15:04:06] Start getOdataApiRecords: ApiUsers_Web, filter: UserEnabled eq true, select:
[2026-09-30 15:04:06] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-30 15:04:06] DEBUG - Filter BEFORE encoding: UserEnabled eq true
[2026-09-30 15:04:06] DEBUG - Complete API endpoint: ApiUsers_Web?$filter=UserEnabled+eq+true
[2026-09-30 15:04:06] 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-30 15:04:06] DEBUG - URL length: 149
[2026-09-30 15:04:08] DEBUG - HTTP Code: 200
[2026-09-30 15:04:08] DEBUG - Response length: 2270551
[2026-09-30 15:04: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)/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-30 15:04:08] DEBUG - Records in this batch: 2058
[2026-09-30 15:04:08] SUCCESS - API data fetched, total rows: 2058
[2026-09-30 15:04:08] End getOdataApiRecords: ApiUsers_Web
 + syncAnareg
[2026-09-30 15:04:10] Start getOdataApiRecords: koccatradeagreements, filter: startingDate le 2026-09-30 and endingDate ge 2026-09-30, select:
[2026-09-30 15:04:10] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-30 15:04:10] DEBUG - Filter BEFORE encoding: startingDate le 2026-09-30 and endingDate ge 2026-09-30
[2026-09-30 15:04:10] DEBUG - Complete API endpoint: koccatradeagreements?$filter=startingDate+le+2026-09-30+and+endingDate+ge+2026-09-30
[2026-09-30 15:04:10] 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-30+and+endingDate+ge+2026-09-30
[2026-09-30 15:04:10] DEBUG - URL length: 193
[2026-09-30 15:04:14] DEBUG - HTTP Code: 200
[2026-09-30 15:04:14] DEBUG - Response length: 1581430
[2026-09-30 15:04:14] 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-30 15:04:14] DEBUG - Records in this batch: 2988
[2026-09-30 15:04:14] SUCCESS - API data fetched, total rows: 2988
[2026-09-30 15:04:14] End getOdataApiRecords: koccatradeagreements
 + syncAgeanaCustomer
[2026-09-30 15:04:15] Start getOdataApiRecords: SalespersonShipToAddresses, filter: , select:
[2026-09-30 15:04:15] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-30 15:04:15] DEBUG - Complete API endpoint: SalespersonShipToAddresses
[2026-09-30 15:04:15] 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-30 15:04:15] DEBUG - URL length: 135
[2026-09-30 15:04:34] DEBUG - HTTP Code: 200
[2026-09-30 15:04:34] DEBUG - Response length: 13424521
[2026-09-30 15:04:34] 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-30 15:04:34] 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-30 15:04:34] DEBUG - Skiptoken extracted: '0025467','C0021895','001 AVERSA','C0021895'
[2026-09-30 15:04:34] DEBUG - Records in this batch: 20000
[2026-09-30 15:04:34] 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-30 15:04:34] DEBUG - URL length: 213
[2026-09-30 15:04:42] DEBUG - HTTP Code: 200
[2026-09-30 15:04:42] DEBUG - Response length: 4762883
[2026-09-30 15:04:42] 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-30 15:04:42] DEBUG - Records in this batch: 7140
[2026-09-30 15:04:42] SUCCESS - API data fetched, total rows: 27140
[2026-09-30 15:04:42] End getOdataApiRecords: SalespersonShipToAddresses
 + syncCommissionRules
[2026-09-30 15:04:51] Start getOdataApiRecords: koccacommissionrules, filter: , select:
[2026-09-30 15:04:51] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-30 15:04:51] DEBUG - Complete API endpoint: koccacommissionrules
[2026-09-30 15:04:51] 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-30 15:04:51] DEBUG - URL length: 129
[2026-09-30 15:04:54] DEBUG - HTTP Code: 200
[2026-09-30 15:04:54] DEBUG - Response length: 5564500
[2026-09-30 15:04:54] 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-30 15:04:55] DEBUG - Records in this batch: 11060
[2026-09-30 15:04:55] SUCCESS - API data fetched, total rows: 11060
[2026-09-30 15:04:55] End getOdataApiRecords: koccacommissionrules
 + syncWebDelivery
[2026-09-30 15:04:58] Start getOdataApiRecords: webdeliverydates, filter: webActive eq 1 and startingDate le 2026-09-30T00:00:00Z and endingDate ge 2026-09-30T00:00:00Z, select:
[2026-09-30 15:04:58] DEBUG - Base URL: https://odata.kocca.it:7068/ProdNUP/api/NBL/PRIME365API/v2.0/companies(ad5ffe68-486f-ee11-823f-00224881ec17)/
[2026-09-30 15:04:58] DEBUG - Filter BEFORE encoding: webActive eq 1 and startingDate le 2026-09-30T00:00:00Z and endingDate ge 2026-09-30T00:00:00Z
[2026-09-30 15:04:58] DEBUG - Complete API endpoint: webdeliverydates?$filter=webActive+eq+1+and+startingDate+le+2026-09-30T00%3A00%3A00Z+and+endingDate+ge+2026-09-30T00%3A00%3A00Z
[2026-09-30 15:04:58] 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-30T00%3A00%3A00Z+and+endingDate+ge+2026-09-30T00%3A00%3A00Z
[2026-09-30 15:04:58] DEBUG - URL length: 236
[2026-09-30 15:04:59] DEBUG - HTTP Code: 200
[2026-09-30 15:04:59] DEBUG - Response length: 10054
[2026-09-30 15:04:59] 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-30 15:04:59] DEBUG - Records in this batch: 26
[2026-09-30 15:04:59] SUCCESS - API data fetched, total rows: 26
[2026-09-30 15:04:59] End getOdataApiRecords: webdeliverydates
 + postImportAna
Orders unlocked in finally.
END 2026-09-30 15:05:50

5.83 minute(s)
