TW,
Yes it works fine with both the cases, with reference price taking from from billing documents and without reference price deriving from condition records.
And if I understand your second question correctly, I tested with difference division materials and it works fine.
Thanks
LQ