Its possible to post warehouse receipt using reference from sales Order?
Please elaborate on your business case.
For me, it makes no sense to try to create a Whse Receipt... from a Sales Order.
It is either a Whse Shipment for an Sales Order... or a Whse Receipt created from a Purchase Order.
At first glance, your case sounds like a Drop-shipment or Special Order to me, where BC does have solutions in place.
Try using the Drop Shipment or Special Order functionality on the Sales Lines: a small passage via the Requisition Woirksheet will generate a PO, directly linked to the Sales Order.