1b.app
Link copied -

Data format of Ukrposhta addresses when importing an order with prom.ua

The automatic action to create a ttn of Ukrposhta works only in the format required by the box Index, City, street, house number, apartment number Orders come from the prom in a completely different format City (region), Department, street, house, square, index For example - m. Kyiv (Kyiv region), No. 95, st. Sr*******ka, 24 (02095) You have to constantly create TTN in manual mode, what can be done in this case for automation?
Original question is available on version: ru

Answers:

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
on the example of an order https://optium.biz.ua/admin/customorder/order/47056/edit/
Your templates look like this:
,.*(\d{5}) - index
(.*).*\s\(.*, - city
.*?,.*,\s(.*?), - street
.*?,.*,\s.*?,\s(.*)\s - house number
We ignore this segment https://prnt.sc/uidulg
16.09.2020, 19:02
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
it turns out like this https://prnt.sc/uiemev
16.09.2020, 19:06
Original comment available on version: ru

Thank you very much! earned! ))) Of course, there is still a problem that sometimes the UE has a department number and sometimes not, and then you need to work a little with the handles, but still it works great! Thank you very much again!
16.09.2020, 19:22
Original comment available on version: ru

Суханіцький Андрій OneBox CORP
OneBox Corp - Інтегратор
Personal license
we only create by address, no branch, so it should work
16.09.2020, 19:25
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