Warranty Admin
The back-office review queue for warranty registrations a member submits through the storefront: support fills in the warranty period and expiry date, checks the receipt photo, and approves or declines; approving writes a warranty certificate, the proof of cover you print for the customer. It posts no journal, moves no stock, and cannot create a registration itself. Check the warranty period and expiry before you approve: they are filled in from the item’s Basic Warranty only when the item has one, and the certificate copies whatever the form holds; nothing expires a certificate either, and no e-mail is sent, so print or export the certificate and send it yourself.
Your job, and the screen for it
| The job | Screen or tab | Read |
|---|---|---|
| Approve or decline a registration — check the warranty period, expiry date and receipt first, because the certificate copies the form | Product Registration, open it › APPROVE / DECLINE in the record’s header, above the tabs (shown only while PENDING) | What SAVE, APPROVE and DECLINE actually do; Product Registration — Main Details |
| Check the receipt photo — open or download it; this applet cannot add, replace or delete a file | Registration › Attachments tab | Screens and menus |
| Give the customer the certificate — no e-mail is sent; print or export it and send it yourself | Registration › Warranty Certificates tab (prints the registration, at any status) | What SAVE, APPROVE and DECLINE actually do |
| Look up issued cover — nothing expires a certificate, so compare the expiry date yourself | Warranty Certificate listing (read-only) | What SAVE, APPROVE and DECLINE actually do |
| Set up membership, customers, items, the certificate’s printable format and a client that creates registrations — this applet only reviews them | Settings › Printable Format Settings; the rest in their own applets and the storefront widget | Before you can use it |
Overview
Warranty Admin is the back-office review queue for warranty registrations. A member registers a
product through the storefront — serial number, purchase date, a photo of the receipt — and the
registration lands here with an approval status of PENDING. Someone in support opens it, checks
or fills in the warranty period and expiry date, checks the attachment, and clicks APPROVE or DECLINE.
Approving it writes a second record, a warranty certificate, which is the durable proof of coverage and the thing you print for the customer.
CREATE permission.
The applet reviews; it does not enrol.Where it fits
| Direction | What | Why |
|---|---|---|
| Upstream | The CP Commerce storefront’s warranty registration widget | Submits the registration with approval_status = PENDING, the member’s membership card and the name on it, entity, a quantity of 1, serial number, purchase date and the chosen item, then uploads the receipt |
| Prerequisite | A membership card for the customer | The card is required and looked up in the membership card table on every create and update — a registration cannot exist without one |
| Prerequisite | A customer/entity record | The customer entity is required and must exist; the customer name is required |
| Prerequisite | Items | The storefront picks the product; the item’s id, code and name are copied onto the registration |
| Downstream | Warranty certificate | Created by the applet the moment a registration is approved |
| Downstream | Printable formats | The certificate is printed with a printable format chosen in the applet’s own Printable Format Settings |
| Adjacent | RMA (Internal) | Support staff read warranty cover here by eye when handling a return. There is no link: nothing in RMA or on a service note looks up a warranty certificate |
Screens and menus
The sidebar has two applet entries, plus the standard settings and personalization gears; the settings gear shows only for owners and admins. Audit Trail also appears at the foot of the sidebar for owners and admins, unless the applet’s HIDE_AUDIT_TRAIL_MENU setting hides it, and always for anyone holding a permission ending in SHOW_AUDIT_TRAIL_REPORT.
| Menu | Route | What it does |
|---|---|---|
| Product Registration | product-registration | The review queue. Listing with advanced search and column toggles; no add button |
| Warranty Certificate | warranty-certificate | Listing of issued certificates. Read-only from this applet — the applet never PUTs or DELETEs a certificate |
Opening a registration gives three tabs:
| Tab | Contents |
|---|---|
| Main Details | The eleven fields listed under Fields. APPROVE, DECLINE and SAVE sit in the record’s header above the tabs and appear only while the registration is PENDING. Once it is approved or declined you can still type on the form, but nothing you type can be saved from this applet |
| Attachments | Files the member uploaded (typically a receipt photo), which you can open and download. The tab also has an add button and an upload screen, but its ADD sends nothing to the server (read, not run): the files you pick stay on your screen. The storefront uploads the receipt once, at submission, and has no screen to change it |
| Warranty Certificates | The export pane. It prints the registration, not the certificate record, through the printable format you pick — and it works at any status, so a PENDING or DECLINED registration prints on the certificate layout too. It prints what is saved, not unsaved edits on Main Details (read, not run). The layout receives only the customer name, item code and name, quantity, purchase date, warranty period and expiry: the serial number always arrives blank, Purchased From and Remarks are not passed, and period and expiry come from a side copy on the registration, which this form writes when it saves, so a registration whose copy was never written prints them blank. Check the PDF before you send it |
DECLINE is a two-click button: the first click changes its label to CLICK AGAIN TO CONFIRM.
Settings (gear) lands on the Client-Side Permission listing (the settings route’s default) and lists the applet’s five System Configuration entries: Application Settings, Default Selection, Printable Format Settings, Email Template, Custom Status. Below them the shared settings frame adds Permission Wizard, Permission Set, User Permission and Role Permission, which work, and Release Notes under Developer Tools, which has no route here and opens page not found. Personalization contains one entry: Default Selection.
Configuration
Before you can use it
- Membership. Every registration must carry a membership card GUID that resolves. Without a membership programme in the tenant, no registration can be created at all, from any client.
- A customer entity for the member, with a name.
- Items for the products being registered.
- A printable format for the certificate — pick it in the export pane each time, or set it as the
default in Settings > Printable Format Settings, which writes the
PRINTABLEkey the pane opens on. - A client that creates registrations. The storefront’s warranty widget is the shipped one.
Applet settings
Settings live in two places here, and the split matters:
- Application Settings is the shared settings screen.
- Default Selection and Custom Status are the applet’s own components.
The shared screen has no branch for this applet, so it shows a long list of controls written for other
applets’ documents: line-item price columns, contra, expenses, e-Invoice and so on. None of
them does anything in this applet except HIDE_AUDIT_TRAIL_MENU on its sidebar tab, which hides the
Audit Trail entry from owners and admins. Treat the rest of Application Settings here as a screen that
saves values nothing in this applet uses.
Only these settings are shown, saved and actually used:
| Setting | Where it is set | What it controls | Default | Effect when changed |
|---|---|---|---|---|
PRINTABLE | Settings > Printable Format Settings (set as default) | The printable format the certificate export pane pre-selects | none | The export pane on both Product Registration and Warranty Certificate opens on the chosen format |
DEFAULT_COMPANY | Settings > Default Selection (filled automatically from the branch you pick) | Resolved by the shared session effect into the applet’s default company | none | Loaded into the session; neither listing is filtered by it |
DEFAULT_BRANCH | Settings > Default Selection | Resolved by the shared session effect into the applet’s default branch | none | Loaded into the session; neither listing is filtered by it |
Saved by a real control but read by nothing:
| Setting | Where it is set | Status |
|---|---|---|
DEFAULT_LOCATION | Settings > Default Selection (auto-filled from the branch’s MAIN_LOCATION) | Written; no reader in the applet |
| Default sender e-mail | Settings > Default Selection | Written; no reader — the applet sends no e-mail (see Lifecycle). The platform’s own sender address has nothing to do with this key |
| Default approved e-mail template | Settings > Default Selection | Written; no reader |
| Default declined e-mail template | Settings > Default Selection | Written; no reader |
ENABLE_CUSTOM_STATUS_1..5, ENABLE_CUSTOM_STATUS_HDR_1..5, ENABLE_CUSTOM_STATUS_LINE_1..5, NAME_CUSTOM_STATUS_HDR/LINE_1..5, LIST_CUSTOM_STATUS_HDR/LINE_1..5 | Settings > Custom Status | Saved, and used by nothing: the Main Details form has no custom-status control, and neither a registration nor a certificate can carry one |
The applet’s other settings — the INCLUDE_* / ENABLE_* dimension, profit centre, project, segment,
SST and WHT flags, and the twenty-odd HIDE_* price and quantity column flags — have no control here
and do nothing.
Both Default Selection screens save by merging into the settings they belong to (the applet’s, or your own personal ones) rather than replacing them, so saving one screen does not wipe another’s keys.
Feature visibility / permissions
The applet declares no client-side permission codes of its own and its Client-Side Permission screen has no menu entry. Access is enforced server-side, by two permission families:
| Family | Gates |
|---|---|
API_TNT_DM_ERP_WRTY_PRODUCT_REGISTRATION_* (OWNER, ADMIN, MEMBER, CREATE, READ, UPDATE, DELETE, SEND_EMAIL) | Every back-office registration endpoint — and every attachment endpoint, which reuses the registration family rather than having one of its own |
API_TNT_DM_ERP_WRTY_WARRANTY_CERTIFICATE_* (OWNER, ADMIN, MEMBER, CREATE, READ, UPDATE, DELETE) | The certificate endpoints |
API_TNT_DM_ERP_WRTY_PRODUCT_REGISTRATION_SEND_EMAIL gates a rejection-e-mail endpoint that the
applet never calls.
In a listing or search, a record the caller is not entitled to read does not fail — it comes back with its
status shown as PERMISSION_DENIED and every other field blank. Opening one record by its id without the
permission is refused outright.
Fields
Product Registration — Main Details
Every control on this form is an unvalidated UntypedFormControl; the applet enforces nothing.
The “Required” column below is the backend validator.
| Field | Meaning | Required | Notes |
|---|---|---|---|
| Customer Name | The registered owner | Yes | Free text, copied onto the certificate when you approve. Changing it here changes the name the certificate carries, not the customer record |
| Customer Email, Customer Mobile | Owner’s contact details | No | Not stored on the registration: the screen reads them from the customer’s entity record (its e-mail and phone). You can type in the boxes, but SAVE and APPROVE drop both before sending, and the certificate has no such columns. Correct them on the customer record. Nothing sends to the e-mail (see Lifecycle) |
| Product Name | The item | No on the form; copied from the storefront’s selection | Typing here changes nothing: the form does not write this box back to the record |
| Serial No. | The unit’s serial number(s) | No | Stored as JSON: { "serialNumbers": [ … ] }. The storefront submits exactly one. Typing here changes nothing: the form does not write this box back, so a wrong serial number is corrected through the API |
| Purchase Date | Date of purchase | No | The start date an expiry is counted from when the form fills one in for you (see Warranty Expiry Date) |
| Purchased From | Dealer or channel | No | Not set by the storefront — someone in the back office types it |
| Warranty Period | Coverage duration | No | Filled in for you on opening when this or the expiry date is empty and the item has a Basic Warranty in Doc Item Maintenance — for example 1 year(s) — replacing whatever this box held. Otherwise free text: nothing parses what you type |
| Warranty Expiry Date | Last day of coverage | No | Filled in at the same moment as Purchase Date plus the item’s Basic Warranty years, months and days — with Purchase Date empty the box gets an invalid date, or one counted from today when the date is missing altogether (read, not run), so check it. An item with no Basic Warranty leaves both boxes for you to type. The filled-in values are saved on the next SAVE or APPROVE. Changing Purchase Date afterwards does not recount the expiry, and clearing Warranty Expiry Date does not clear the saved date: the form keeps the old one |
The form also shows Created Date — when the registration was submitted; the box is editable and what you type is sent on SAVE, so leave it alone — and Remarks, which is copied onto the certificate with everything above except the e-mail and mobile (the certificate gets its own Created Date).
Not on the form but on the record: the membership card and the customer entity (both required, both must exist), the item’s id and code, the quantity, the approval status and a free-form properties block.
Warranty Certificate
The certificate has the same columns as the registration, minus the approval status and plus a link to the registration it came from (required, must exist). The applet has no edit form for it — the record is composed entirely by the approve action. Its export pane prints the registration the certificate came from, as that registration stands now, not the certificate’s own copy.
Lifecycle and effects
Warranty Admin writes no journal, no stock movement and no document. It maintains product registrations, warranty certificates and registration attachments.
Approval status
The approval status is a plain text value on the registration. The values in use are PENDING (set
by the storefront on submit), APPROVED and DECLINED (set by this applet’s buttons).
What SAVE, APPROVE and DECLINE actually do
| Action | Effect |
|---|---|
| SAVE | Saves the registration. Nothing else |
| APPROVE | Sets the registration APPROVED, saves it, then creates a new ACTIVE warranty certificate for it, copying membership, customer, item, quantity, serial numbers, purchase date, purchased-from, warranty period, expiry date and remarks across. Then a success toast |
| DECLINE | Sets the registration DECLINED and saves it. Nothing else |
No e-mail is sent by either action, although the applet has an Email Template screen and three e-mail settings. If your process depends on customers receiving their certificate automatically, it does not happen; print or export it instead.
Nothing expires a certificate, either. A certificate’s status is the platform’s standard
status column, whose values are ACTIVE, INACTIVE, DELETED, DRAFT, PENDING and so on —
there is no EXPIRED value, and no job compares the warranty expiry date to today. A certificate
stays ACTIVE for ever unless somebody changes it through the API.
Approving the same registration twice creates a second certificate: nothing checks whether one already exists for that registration.
APPROVE needs two permissions, one for each write: registration UPDATE (or OWNER/ADMIN) and
certificate CREATE (or OWNER/ADMIN). Without the first, approval stops before anything is saved;
without the second, every registration they approve is left APPROVED with no certificate. The buttons also
hide the moment you click, before either write returns, so after an error the screen does not tell you
which write failed: refresh the Product Registration listing, then reopen the registration and look at its status.
Attachments
Attachments are separate rows with their own endpoints, gated by the registration permission family;
deleting one needs the registration DELETE code (or OWNER/ADMIN). In this applet you can only open and download them:
the Add Attachment screen’s ADD sends no request and shows no message, and the attachment view has no
replace or delete; a PDF may not preview there, so use Download.
The storefront uploads the receipt once, right after it saves the registration, so a storefront registration with no receipt is one whose upload failed or whose file was later removed. If you need a different file on the record — a clearer receipt, a dealer invoice — ask the member for it and add it through the attachment API; until then, keep it with the case you handle the claim in.
Related applets
- RMA (Internal) — where a warranty claim is actually processed. The link is human, not automated: nothing in RMA reads a warranty certificate.
- Doc Item Maintenance — the items being registered, where serial-number tracking is configured, and the Basic Warranty the review form fills the period and expiry from.
- Entity and Customer Maintenance — the owner record every registration must point at.
Troubleshooting
| Symptom | Cause | Fix |
|---|---|---|
| Save refused: the membership card is missing or not found | Every registration must carry a membership card that resolves, and the back-office form has no control for it | Fix the membership link through the API |
| Save refused: the customer is not found | The customer entity the registration points at does not exist or was deleted | Restore or repoint the entity |
| Warranty Period and Expiry Date are blank when you open a registration | The storefront sends neither. The form fills them from the item’s Basic Warranty, and this item has none, or could not be loaded (an error toast, possibly empty, as the registration opens) | Type them before approving — the certificate copies them. For next time, tick Basic Warranty on the item in Doc Item Maintenance and set its years, months and days |
| The customer says they never got the certificate e-mail | The applet sends no e-mail | Open the registration’s Warranty Certificates tab, print or export the PDF, and send it yourself |
| Two certificates for one registration | Nothing stops a second certificate for one registration; this applet offers APPROVE only while PENDING, so at least one was written outside it | Delete the duplicate through the certificate API — the applet has no delete |
A registration shows APPROVED but has no certificate | The second of APPROVE’s two writes failed — for example for a reviewer without certificate CREATE (the two writes) — and an APPROVED registration no longer offers APPROVE | Refresh the listing and reopen it. Still PENDING: the first write failed; fix the cause and approve again. APPROVED: look through the Warranty Certificate listing for that customer and item with the search box empty (a search shows only ACTIVE ones; the listing does not show the source registration); only if none matches, create the certificate through the certificate API, copying the registration |
An expired warranty still shows as ACTIVE | There is no expiry job and no EXPIRED status | Compare the warranty expiry date yourself |
| Application Settings changes have no effect | The shared settings screen shows the generic document set, and the applet uses none of them except the Audit Trail switch | Only Default Selection’s branch, Printable Format Settings and the Audit Trail switch hold keys this applet reads. Email Template and the e-mail settings feed nothing: the applet sends no e-mail |
| A settings entry you remember is missing from the gear, or Release Notes opens page not found | Team and role–pricing-scheme permission screens are routed but not linked; Release Notes has no route here; Audit Trail is in the main sidebar, not the gear (who sees it) | Reach the unlinked screens by URL; ask an owner or admin to read the audit trail |
A record shows PERMISSION_DENIED and nothing else, or a listing stops loading | The caller lacks API_TNT_DM_ERP_WRTY_*: a listing blanks the record instead of failing, and here its customer look-up can fail on the blanked row and stop the listing loading (read, not run) | Grant the relevant READ/ADMIN/OWNER code |
A registration appears already APPROVED, or has a certificate, that nobody here approved | It did not come through this applet’s APPROVE | Check who approved it against your team’s own approval record before you honour it: neither the status nor the certificate shows which client set it. Reported as a product defect |