Amar Lal,
There are two account assignments to be considered here:
1. Warehouse (holds inventory) - Single Fund Center and Not Relevant Grant - we base this on the GL Account for inventory
2. Consuming Grant - Based on internal order for the grant.
Thanks
Shyam