Production order Amount Error

You are misusing production orders, which are intended only to transfer inventory and non-inventory costs to finished inventory items in a single production activity. They are not meant to accumulate costs over time. Very likely, you have issues with insufficient quantities of inventory items on the bill of materials that come and go as you purchase those input items and consume them.

You also seem to have inventory locations wrapped up in all this. Inventory locations are meant to record physical location of inventory items, not to be inventory items. There is a very similar discussion currently ongoing here.

You should be using projects to collect the costs of a building. See Create and use projects | Manager.