The Contract Wizard is a full-page, step-by-step wizard for creating a new partner contract. It is accessible atDocumentation Index
Fetch the complete documentation index at: https://docs.encoreos.io/llms.txt
Use this file to discover all available pages before exploring further.
/ce/partners/:partnerId/contracts/wizard.
Overview
The Contract Wizard hosts aModuleWizardRenderer (PF-41 platform wizard framework) for the partner_contract wizard type in the ce module. The wizard supports draft persistence, a Cancel button (returns to the partner detail page), and a Save & Exit option. On successful completion the wizard calls useCreatePartnerContract, submits the contract payload to the API, and navigates back to /ce/partners/:partnerId. If validation fails before submission a toast error is shown listing the validation issues. A loading skeleton is rendered if partnerId or organizationId is not yet resolved.
Contract fields submitted include: contract_name, contract_type, start_date, end_date, value, auto_renew, renewal_notice_days, terms_summary, document_id, status (defaulting to draft), and notes.
Who it’s for
Required permission:ce.contracts.create (route-level gate).
Before you start
- You need the
ce.contracts.createpermission. - You must have an existing partner record; the wizard is launched from a specific partner’s page.
- Your organization must be active.
Steps
Launch the wizard
Navigate to
/ce/partners/:partnerId/contracts/wizard from the partner detail page or a partner action.Complete each wizard step
Fill in contract name, type, dates, value, auto-renewal settings, terms summary, and any other required fields across the wizard steps.
Submit the contract
Click Create Contract on the final step. The wizard validates the data and, on success, creates the contract and returns to the partner detail page.
Key concepts
- PF-41 wizard framework — the wizard uses
ModuleWizardRendererfrom the platform wizard layer; step registration is handled byregisterPartnerContractWizardSteps. - Draft persistence —
enableDraftPersistenceis set; incomplete wizard data is saved locally. - Contract status — defaults to
drafton creation; SME: confirm available status transitions.
Related
Community Engagement
Community Engagement core overview.
Governance & parity
Documentation coverage and governance.
This page documents shipped product behavior. It is not medical, legal, or
billing advice. Verify against your organization’s policies and applicable
regulations before using it for clinical, compliance, or billing decisions.
Protected health information (PHI) shown in the product is governed by your
tenant’s access controls and is never exposed in this documentation.
Documentation sources
Documentation sources
- src/routes/ce.tsx
- src/cores/ce/wizards/partner-contract/PartnerContractWizardPage.tsx
- src/cores/ce/wizards/partner-contract/registerPartnerContractWizardSteps.ts
- src/cores/ce/wizards/partner-contract/partnerContractWizardValidation.ts
- src/cores/ce/wizards/partner-contract/types.ts