Popup Message Object in Supista ERP
The popupMsg
object is used to display real-time feedback messages to users within the Supista ERP interface. These messages typically follow key operations such as Create, Read, Update, Delete, PDF generation, Email dispatch, etc.
This feedback mechanism ensures users are clearly informed about the outcome of their actions—whether it was successful, resulted in a warning, or failed with an error.
Sample Structure
{
"result": { },
// Other data...
"popupMsg": {
"type": "message|warning|error",
"message": "This is a message"
}
}
Field Descriptions
Field | Type | Description |
---|---|---|
type | string | Type of the popup. Accepts one of "message" , "warning" , or "error" |
message | string | The actual user-facing message shown in the popup |
type
Values and Behavior
Type | Visual Style | Description |
---|---|---|
"message" | ✅ Green/info | Indicates a successful action. Used when operations complete as expected. |
"warning" | ⚠️ Yellow | Used for non-critical issues, like partial success or skipped entries. |
"error" | ❌ Red | Indicates a failure or critical error. Used when the operation cannot proceed. |