Status of Material Request is not changing to Ordered after creating PO

We have created a new workflow for material request in purchase module of ERPNext. As per our requirement we have created 3 level approval for material request. But after creating and submitting the Purchase order against material request status of material request is not changing into “ordered”. It is still showing “Approved”.

@sapnapokhriyal288 can you share screenshot of workflow

@sapnapokhriyal288 can you share me ss of state table also

@sapnapokhriyal288 i think this field value is unchecked in your workflow
image

Yes. It is unchecked. I am checking it now. Thanks for the solution.

But after checking this box the approval stages of my workflow are not showing. I just want to get the ordered status in material required at the end stage when PO is gererated.

@sapnapokhriyal288 ok unchecked field and change status to ordered instead of approved you cant do this ordered or approved at the same time

Okay. But the issue is same again. If I rename my status as ordered it will show all the approved material requests as “ordered”. I want “ordered” status for the Material Requests whose PO are generated. So that I can track the status of ordered and pending Material Requests.

@sapnapokhriyal288 i think it is not possible

hey @sapnapokhriyal288 can you define the roles and the structure so that we can better understand the error

Yes it is not working, but I have found another way to show the order status of material requests. There is a field “% ordered”. I have added this field in list view to track the status of material requests. If PO is generated against any material request it will show the % with green line. please see the below image.