?? I'm not understanding??
You import X amount of a Part and you want to store it in 10A, but then you later say
"...every location/bin can only hold ONE part..."
Please clarify.
In overview:
It seems you have StorageBins, Parts and PartQuantity. And you import/receive Parts and export/retrieve/ship Parts. The task is to know how many of which Parts are where.
If this is correct then you have Receipt and Ship transactions. Receipt transactions add to inventory. Ship transactions subtract from Inventory. At start, and from time to time, you do a StockTake exercise to verify current Inventory (bin status,bin content (part, quantity)).
StorageBins have attributes name, location(coordinates), IsOccupiedYN
Parts have attributes name, description, weight, color, material, (serial number, model..??.)
PartQuantity would seem to be limited to integers. You may also have a UnitOfMeasure (doz, gross,each..??)
Transaction would have attributes type, date,Initiator, Part,Quantity,toLocation{bin number, customer}, fromLocation{customer, bin number}
Code:
Current Inventory (by Part) = Latest StockTakeQuantity(of Part)
+Sum(ReceiptTransactionQuantity)
- Sum(ShipTransactionQuantity)