Hi Josh,
Thank you for the suggestion.
[quote user="Indira88"]
Hi All,
While posting a released PO. I am getting the following error when I am trying to edit the Qty. To receive field and posting.

Regards,
Indira
[/quote]
[quote user="Indira88"]
Hi All,
While posting a released PO. I am getting the following error when I am trying to edit the Qty. To receive field and posting.

Regards,
Indira
[/quote]
This case where the error was coming was on CheckQuantity and it was checking Quantity Base and Quantity Base Invoice.
The Function has a way to handle the check from a event Subscription by setting the value of a boolean to true,in this case the check could be skipped,I did the following:
[EventSubscriber(ObjectType::Codeunit, Codeunit::"Item Jnl.-Check Line", 'OnBeforeCheckEmptyQuantity', '', true, true)]
Procedure OnBeforeCheckEmptyQuantity(ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)
begin
IsHandled := true;
end;
Regards,
indira