Find Site and Location Inventdim through crosscompany


I’m using AX 2009. I create Sales Order to Purch Req Form to copy sales order I chose to PurchReqLine. But I can’t get Site and Location(warehouse) field in PurchReqLine Form. It’s still empty though Sales Order is copied. I found this link:…/ but it works only for AX 2012. Please help me. Thanks in advance.

Can you please simplify this?

Looking at the code in Link, it is picking up the dimensions from default order, site specific orders settings and standard configuration from item. Have you defined them?

I simply want to copy sales order top PurchReqLine.

How do I define them? please more info. Thanks.

You need to define them on item, setup button → default order setting and site specific order settings.