Issue Reg. Transfer Order

Hello Pioneers,

These days I am experiencing a strange issue in Axapta 2009. My client is producing items through

“SUBCONTRACTING”, so In transfer Order, I created a field called ProdOrder reference and lookup with all production Id

generated. And placed a button “GETBOMLINES”, such that, when I click on the GETBOMLINES button and select the

Production Id in header, It automatically update the Lines. I am facing a issue that, when after selecting “ProductionId” , we

click on GETBOMLINES, the system throws an error "FROM WAREHOUSE MUST BE GURGAON. For example, If I select

“DELHI” in FROM WAREHOUSE, and click on GETBOMLINES, then system throws error "FROM WAREHOUSE MUST BE

GURGAON". Likewise, If I select “HYDERABAD” in FROM WAREHOUSE, and click on GETBOMLINES, then system throws

error “FROM WAREHOUSE MUST BE HYDERABAD”.