Developer Studio: custom entities, forms, pages, change requests, rules, notifications and audit

Define custom entities and fields, design forms and application pages, promote changes through governed change requests, package low-code applications, and add business rules, notifications, form actions and audit policies.

On this page

Process at a glance

  1. Define entities and fieldsAdministratorEntity with fields and relationships, linked to a draft change request.
  2. Design the formAdministratorForm with tabs, fields and grid columns.
  3. Compose an application pageAdministratorPage with content and navigation widgets linked to a draft change request.
  4. Release the change requestAdministratorMigration and rollback SQL generated and numbered.
  5. Apply the change requestAdministratorTables created, permissions registered, menu and form published.
  6. Package the applicationAdministratorInactive application imported, checked for readiness and then activated.
  7. Add rules and notificationsAdministratorBusiness rules, notifications and form actions live.
  8. Set audit policyAdministratorPer-entity audit settings and retention.

#Purpose and scope

This chapter covers the Developer menu (the AI Studio module's low-code surface): custom and built-in entity definitions, the form and page builders, governed change requests, custom applications, business rules, notification rules, form actions and audit configuration. The Developer home page lists these tools.

#Before you start

  1. The Developer menu group is admin-only. The change-request surface runs and generates database DDL, so it is restricted to a superuser or the Admin role, and a portal token can never authorise it.
  2. The module declares three separately activatable capabilities because they can change tenant behaviour and data models: Runtime Forms & Custom Entities (entities, form builder, applications), Governed Schema Change Workflow (change requests) and Developer Automation Rules (business rules, notifications, audit configuration). Ask your administrator which are active for your tenant.
  3. Create entities, forms, rules and applications in DEV. The Developer home shows the current environment. In QAS and PRD, import a trusted package, release and apply its change request, check application readiness, then activate it. Direct authoring is blocked by the API outside DEV.

#1. Entities and fields

  1. Open Entities to see custom and built-in entity definitions. In DEV, create a custom entity or extend an existing standard module table by choosing the target module key, entity key and table name. In QAS and PRD, inspect promoted entity properties and fields in the read-only view; make changes in DEV and promote a change request.
  2. Add fields with a snake_case name (lowercase letters, numbers and underscores, starting with a letter) and a data type: string, integer, decimal, boolean, date, datetime or text.
  3. Add relationships: One-to-Many (a foreign key column) or Many-to-Many (a junction table).
  4. To make an entity usable by outside users, set Portal Exposure to customer, vendor or careers, name the owner field (required), and optionally allow portal users to create rows (the owner is stamped by the server).
  5. For approval, set the status field, the approval record type (default CUST-<entity key>) and mark the entity Submittable. The runtime table must have a company_id field. Workflow & Automation must be installed and active in the current database and assigned to this record type with a human approval step before a draft can be submitted. There is no local approval or GL-posting fallback when the workflow is unavailable.
  6. For finance, switch on posting: choose the posting record type (default JV), the amount field and the debit and credit ledgers (or per-row ledger fields). When the matching workflow approves the company-scoped record, BSuit changes its status and queues one durable GL posting request in the same transaction. The Finance outbox worker posts the journal voucher and retries temporary failures.

#2. Forms

  1. Open Form builder. In DEV, a form has tabs, fields and grid columns that you can reorder. Regenerate rebuilds a form from its entity. In QAS and PRD, the form list shows promoted definitions and a preview link without editing controls.
  2. The field palette groups available fields by Text and content, Numbers, Choices, Dates and time, Relations and files, and Other. Fields already placed are listed separately under On this form. Search by label, column name or data type, then click Add or drag an available field onto the form.
  3. Save a version to keep a commit-style history with diffs, and restore an earlier version when needed.
  4. For shipped (standard) forms you save a customization layout instead of editing the original.

#2a. Application pages

  1. Open Page Builder in DEV. Choose a custom application, route name and draft change request, then add heading, text, callout, page-link or divider widgets from the grouped library. Select a widget to edit its content and desktop width; use Move up and Move down to set reading order. The live preview stacks widgets on narrow screens.
  2. Save the draft page and apply its change request to publish it. You can delete a draft before publication. An active application then exposes the page in its menu at /apps/<application key>/pages/<route name>. Create a revision from a published page by choosing a new draft change request; published versions are read-only.
  3. In QAS and PRD, inspect the imported page and its preview. Edit the source in DEV, export the change request or application package, import it to the target environment, then release and apply it there. Rollback restores the previous published version when one exists.

#3. Change requests

  1. Open Change requests. A change request collects entity and field changes (statuses: draft, released, applying, schema applied, applied, rolling back, rollback schema done, rolled back, failed). Import CR remains available when the target environment has no change requests yet.
  2. Preview SQL first. Release a draft change request only in its target environment: BSuit generates the forward and rollback SQL from the entity definitions and gives it the next sequence number. A DEV draft visible in QAS or PRD remains locked; import its package to create a new draft targeted there.
  3. Apply (shown as Activate) a released change request in its target environment. DEV also allows its draft or rolled-back design loop. BSuit runs the DDL, deploys the entities, registers permission codes, registers menu items, publishes form layouts, unlocks the objects and records the change in the applied ledger.
  4. If schema applied or rollback schema done appears, the DDL committed and metadata finalization is pending. Use Resume apply metadata or Resume rollback metadata; these actions skip DDL. If applying or rolling back remains after an interruption, inspect the target database catalog and use Resolve interrupted schema operation to record whether the DDL transaction committed, with evidence. Do not guess its outcome or retry DDL before resolving it.
  5. Roll back an applied change request to run its rollback SQL, set entities back to draft and deactivate the menu items. A rolled-back change request can be reset to draft.
  6. Export a change request as a package and import it into another environment; entity-only and page-only packages include their owning Custom Application. The import creates a draft targeted at the receiving environment and shows the imported entity, form and page counts. Select a company before importing while acting across all companies. Release the draft there before applying in QAS or PRD.
Change request actions
ActionAllowed fromNotes
Releasedraft in its target environmentGenerates and stores the SQL; a draft from another environment must be imported before release
Applyreleased in QAS/PRD; draft, released or rolled back in DEVThe target environment must match. A failed change request must be reset to draft, fixed and retried
Roll backapplied or schema appliedA rollback schema done stage can resume metadata without running DDL again
Resolve interrupted schemaapplying or rolling backRequires target-schema inspection evidence; records whether DDL committed
Reset to draftrolled back or failed

#4. Custom applications

  1. Open Custom applications and create an application with a key (permanent, it cannot be changed), a name, icon, colour and order. A key owned by a compiled BSuit module is refused. Newly created and imported applications remain inactive.
  2. Optionally use Design with AI in DEV. It produces a review-only blueprint; accepting it creates inactive metadata and a draft change request, and does not release, apply or publish anything.
  3. Activate the application after its readiness check: at least one deployed entity with a form or one published page; each linked change request must be applied. The blockers are listed. Activation turns on the application, its entities, forms and page menu items together.
  4. Export the application package to move it.

#5. Business rules

  1. Open Business rules and create a rule for an entity with a trigger (before save, after save, on load, on field change or on delete), conditions in JSON and a priority (lower runs first).
  2. Choose actions: set a field (supports {current_user}), throw an error (blocks the save on before save), set required, set read-only, set visible, or run a sandboxed script.
  3. Use trace to test a rule against sample data without applying it.

#6. Notifications and form actions

  1. Open Notifications and create a rule for any entity (built-in or custom) with a trigger event (create, update or delete), optional conditions, channels (in-app, email, SMS, push), title, body and link templates with {field} placeholders, and recipients: followers, specific users (comma-separated ids), a role, or a field holding a user id.
  2. Open Form actions to add buttons to an entity’s form: start the record’s approval workflow, run a read-only sandboxed script, or call a pre-registered integration endpoint (never a free-text address).

#7. Audit configuration

  1. Open Audit config and create a policy for an entity key: enabled flag, which operations to audit (creates, updates, deletes, views), fields to exclude, and retention days (365 by default).

About this guide

Status
Partially reviewed
Application
BSuit ERP
Audience
Administrators, low-code developers and implementation consultants
Owner
BSuit documentation team
Reviewer
Editorial review pending
Last verified
2026-10-03
Checked against
cb3691bbf
Seen on a running system
Not yet
Help version
2026.0.0-preview
Guide ID
erp:article/guide/developer-studio

Known limits: Written from a read of the implementation; statements traced to source. Not yet walked through end to end by a trainer on a running system. Entity and form-builder pages (very large) were read for labels and messages, not line by line.

Need more help?If feedback above cannot be sent, email support and quote guide ID erp:article/guide/developer-studio.
Email support