Software Engineering
Replace the spreadsheet that three people maintain and nobody trusts
1export async function reconcile(id) {2 const real = await stock.count(id);3 const book = await ledger.expected(id);45 return real.map((row) => ({6 sku: row.sku,7 variance: row.qty - book[row.sku],8 }));9}Stock variance · 4 branches
live- BR-11404120
- BR-208796−4
- CL-33121,2040
- CL-449858−17
2 flagged · counted 41 min ago












