Hi @Luca_Lattarini,
Before you construct, do consider the below points:
purchase orders can be from multiple stores (POS) and from onlineorders may be stored in multiple systems (depending on scenarios from client)
The best way would be to prefix this sourceId, storeId, and the purchaseId of the or...