Case — for the developer
Updated
The case is the CRM 4.5.0 document. It is an office claim, short-ship, or
quality complaint on Inventory Customer. It does not move stock. SLA is the
inbox due date.
User: open a case. Inbox contract: office work items.
Objects#
| Name | Kind |
|---|---|
Case |
a document with no table part |
| Subtypes | Open / Resolved / Cancelled |
ResolveCase |
Open → Resolved |
CancelCase |
Open → Cancelled |
| Kind | String: Claim, ShortShip, Quality |
Agent |
SalesPerson. Inbox assignee is SalesPerson.UserId |
SlaDue |
copied to WorkItemDraft.DueUtc |
RelatedWorkItem |
Guid, hidden, stamped after EnsureOpen |
There are no transaction movements. requiresPosting: true is there only so that
the subtype change goes through the posting pipeline.
Work item key: ResolveCase:{caseMetaId}. No UserId on the agent → no work
item. CancelCase runs CancelBySourceAsync.
Customer merge already walks every Customer EDT, so Case.Customer is rewritten
with Opportunity / Activity.
Customer 360#
The Cases tile on Inventory Customer lists Case (allowCreate).
The CaseTest test (the Business layer.Sales and receivables group).
Reports and OData (CRM 4.9.0)#
CaseSlaQueue — Open cases by age of SlaDue, then agent. Ribbon:
CRM → Inquiries → Cases. Inbox is still the live queue; the report is the
aging cut.
Public collection Cases is read-only. Resolve and cancel stay document commands.
What not to do#
- Do not write
Stock/Receivable/ tax from this document. - Do not invent a Case SoR next to Customer.
- Do not add a
/kanbanroute. The journal presentationgantt(bySlaDue) is the timeline.
Same topic for other readers: User