vamsi388/gmmco-spares-quotation-cap ? reverse-engineered prompt
Reverse engineered prompt
Build me a SAP BTP CAP backend for a spare parts quotation flow for a sales team.
I want Sales Executives to create quotations with customers and items, have the system check stock, calculate prices from pricing rules, and send the quotation into approval when thresholds are breached. If stock is missing, it should move through a simple procurement flow with purchase requisition, purchase order, supplier confirmation, shipment, and goods receipt, then bring the quotation back so it can be submitted again.
Please include the main roles and permissions for pricing admin, sales executive, sales manager, regional head, supply chain, auditor, and scheduler. I also need status tracking, approval history, audit log, reminders, expiry jobs, and a way to issue a quotation and convert it into a sales order. Use mock S 4HANA style data for now, expose the services through OData, and make sure the app runs locally with sample data and passes tests. If you need current CAP docs or best practices, look them up online.
Are you gonna build this?
make sure you review the code using coderabbit