papinet / papiNet-API

papiNet is a global paper, forest products and bioproducts industry e-Business initiative.
http://www.papinet.org/
Apache License 2.0
9 stars 3 forks source link

Should we remove `purchaseOrderNumber` from `ListOfSupplierOrders`, as well as move it down to `supplierOrderLineItems` within `GetSupplierOrderById`? #121

Closed patricekrakow closed 5 months ago

patricekrakow commented 5 months ago

There is a (possible) many-to-many relationship between supplier orders and purchase orders, as well as between supplier orders and sales orders.

We have already removed salesOrderNumber from ListOfSupplierOrders, see commit d12ef5a and issue #105, as well as move it down to supplierOrderLineItems within GetSupplierOrderById, see commit bcda087 and issue #105.

In order to be consistent, I think we should also remove purchaseOrderNumber from ListOfSupplierOrders, as well as move it down to supplierOrderLineItems within GetSupplierOrderById.

patricekrakow commented 5 months ago

No, the purchaseOrderNumber should stay at the header level.