You can automatically create Stockkeeping Units and calculate the following 5 inventory fields during transaction entries:
Navigate to Setup → Custom Setting → System Setting
Create a parameter: EnableSKU and enter the value True.
Calculated Fields on SKU
When Product Allocations are updated - Product Allocations are automatically created from Salesforce Order object.
Read Salesforce Sales Cloud Integration for more details.
Allocated = Quantity on Product Allocations (Posted = false) + Qty. Allocated Base on Sales Lines + Qty. Allocated Base on Transfer Lines
Quantity on Product Allocations by default is by Base Unit of Measure.
When Bin Contents are updated - Bin Content Trigger
Qty. Base from Bin Contents
When Purchase Lines are updated - Purchase Line Trigger
O/S Qty. Base from Purchase Lines
When Sales Lines are updated - Sales Line Trigger
Qty. Not Allocated Base from Sales Lines
When Transfer Lines are updated - Transfer Line Trigger
Waiting, Allocated, Incoming, Transfer Out
Qty. Not Allocated Base, Qty. Allocated Base, O/S Qty. Receive Base from Transfer Lines
This routine will automatically create new SKUs even for Warehouses with the Enable Demand Planning field unchecked.
You can resync inventory quantities for the 5 fields on the SKU by scheduling a nightly Create Item SKUs routine.