Answers:
Dmitry, here is what the NP support answered
________________________
Good day!
---Recommended to change the work of your integration.
Narazі at vіdpovіdі ARI vіddіlennya №20 don't turn so like vіddіlennya timchasovo not pratsyuє.
Possibly otrimuyuchi list your nashtuvannya add to the list of new vіddіlennya, prote do not tidy up tі, scho timchasovo not practice.
Diakuёmo for the beast!
With honor, the team of technical support of Novosti Poshti"
_____________________________
I wrote using the example of department No. 20 Dnipro, can you check how the receipt of NP branches is configured? And why are non-working branches still in the NP directory? Thanks
11.11.2021, 17:08
Original comment available on version: ru
The fact is that the records of the table of branches of the NP are cleared before import, but the records of the corresponding directory of the NP are not, they are only supplemented with new ones.
11.11.2021, 18:04
Original comment available on version: ru
In general, theoretically, a situation may arise that a certain directory entry is tied to a certain process additional field, and when clearing the directory, a problem with this value may arise.
11.11.2021, 18:12
Original comment available on version: ru
Do you mean that if there was a delivery to the department earlier, it is recorded in the additional fields associated with the directory and we will delete the value, because the department is not active - then the fields will be cleared?
But what if you add a feature to the directory active and not active (for example, a new field)? And when updating data from the NP, if there is a department, we leave it active, if not, we set it inactive
12.11.2021, 09:50
Original comment available on version: ru
Good afternoon. Tell me, when updating branches, the value of Inactive changes back to Active? There is a branch Makarov branch 1, it is active and New mail confirmed this, but the branch is not active in the box
The process settings are made so that the employee cannot confirm the order with this department
30.11.2021, 09:14
Original comment available on version: ru
I tested the update.
From the OneBox side, a request is sent with the getWarehouses method, and all received data on departments are updated correctly according to the documentation for the WP API.
Why the data received via the API and the real data differ is better to check with the NP support.
30.11.2021, 11:11
Original comment available on version: ru
Dmitry, what is the sign for us = the activity of the department? That is, a request is sent with the getWarehouses method, and if we receive a branch in response, then write it Active, if we don’t receive it, change it to inactive? That is, now requesting data, we do not receive the above department in response, right?
30.11.2021, 11:56
Original comment available on version: ru
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment