How to add items to warehouses that were purchased prior to erpnext implementation?

I have stock and spares that was purchased in prior financial periods (so presumable I can’t do Purchace Receipts???), that also predate the implementation of erpnext. How do I add them directly into the relevant warehouses and what are the accounting entries?

Update opening stock via Stock Reconciliation.

Check https://frappe.github.io/erpnext/user/manual/en/stock/articles/opening-stock-balance-entry-for-the-serialized-and-batch-item.html