Customizing CRUD APIs in Supista ERP

Supista ERP comes equipped with powerful standard APIs for Create, Read, Update, and Delete (CRUD) operations, enabling efficient handling of everyday business processes. However, we understand that every organization operates differently and may require tailored solutions beyond the standard features.

To support your unique workflows, Supista ERP offers flexible API customization, allowing you to inject your own logic and business rules directly using JavaScript. This ensures the system aligns seamlessly with your specific operational requirements.

In addition to CRUD operations, Supista ERP supports a wide range of customization options, including:

  1. Create – Customize record creation logic
  2. Read – Enhance data retrieval with custom filters or conditions
  3. Update – Implement validation and transformation during updates
  4. Delete – Add control layers before data removal
  5. Form Customization – Modify form fields, layouts, and behaviors to suit user needs
  6. Action Buttons – Add custom actions and workflows triggered by button clicks
  7. Schedulers (Cron Jobs) – Automate repetitive tasks with scheduled scripts
  8. Notification Operation – Send real-time, in-app notifications to users

Code Format for Customizations

Customizations in the ERP system follow a specific code format:

function customizeERP(userData, { createOp, readOp, updateOp, removeOp, bulkCreateOp }) {
  // Custom logic here
}
  • The function name will always be customizeERP, and it must be an async function.
  • The function accepts two parameters: userData and apiOperations.
Last updated on
Transform Data into Decisions with Supista – Your Intelligent Data Partner
This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Cookie Policy. Learn More.