Farhan,
In the condition record, in addition to partner function (SH), give the partner number (B). The output created during return order bill will only go to A only.
added: This might not work if for the same combination (as in the record), for a different bill there is someother partner number.
TW
Message was edited by: TW Typewriter - added in blue