If PurchaseOrder.Item.DirectMaterialIndicator is true, then ProcessType is To-Stock. If it is false, then ProcessType is Non-Stock..
If PurchaseOrder.Item.ThirdPartyDealIndicator is true, then ProcessType is Third-Party
If PurchaseOrder.Item.DirectMaterialIndicator is true, then ProcessType is To-Stock. If it is false, then ProcessType is Non-Stock..
If PurchaseOrder.Item.ThirdPartyDealIndicator is true, then ProcessType is Third-Party