1. Pull AR. Open invoices from NetSuite or your ERP with due dates and customer aging buckets.
2. Pull AP and open POs. Approved invoices, scheduled payments, and outstanding purchase orders that will hit the cash position.
3. Layer payroll and fixed costs. Payroll runs, rent, debt service, software subscriptions, anything recurring.
4. Project the position. Bucket each item into the right week. Net inflows and outflows. Roll forward the beginning cash position.
5. Fill in last week's actuals. Replace last week's forecast row with what actually happened.
6. Output the forecast. A 13-week view with one row per week, the running cash position, and a comparison of forecast vs actual for the trailing weeks.