Indira,
Since this is a custom field added to the Job Planning Lines via an extension, I see 2 options:
1. Using the Customer PO No. field, add a filter <>PO value. Here you see those lines NOT EQUAL to the value you need
2. Create a Validation Check utility, within your extension, that adds an Action button to validate the Job Planning Lines Purchase Order No. are all the same. Pop a message when a Planning Line is not.
The filter is the easier solution. You mention 'will not let the job planning lines to transfer...'. I am thinking you are talking about creating Job Journal lines or Invoices. If you are trying to prevent this action from processing, when the Purchase Order No. is not the same, then I would add the #2 validation to the action to check before executing.
I hope I followed your question and provided some guidance.
Thanks,
Steve
Don't forget to help the community by verifying the answer if your question has been answered. It will let others know that the topic has verified answer.