Skip to content

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 jobScreen or tabRead
Approve or decline a registration — check the warranty period, expiry date and receipt first, because the certificate copies the formProduct 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 fileRegistration › Attachments tabScreens and menus
Give the customer the certificate — no e-mail is sent; print or export it and send it yourselfRegistration › 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 yourselfWarranty 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 themSettings › Printable Format Settings; the rest in their own applets and the storefront widgetBefore 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.

The applet cannot create a registration. There is no add button on the Product Registration listing and the applet never POSTs a registration — it only PUTs existing ones. Registrations come from the storefront’s warranty registration form, or from another API client: a signed-in customer’s, or a back-office one holding the registration CREATE permission. The applet reviews; it does not enrol.

Where it fits

DirectionWhatWhy
UpstreamThe CP Commerce storefront’s warranty registration widgetSubmits 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
PrerequisiteA membership card for the customerThe card is required and looked up in the membership card table on every create and update — a registration cannot exist without one
PrerequisiteA customer/entity recordThe customer entity is required and must exist; the customer name is required
PrerequisiteItemsThe storefront picks the product; the item’s id, code and name are copied onto the registration
DownstreamWarranty certificateCreated by the applet the moment a registration is approved
DownstreamPrintable formatsThe certificate is printed with a printable format chosen in the applet’s own Printable Format Settings
AdjacentRMA (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.

MenuRouteWhat it does
Product Registrationproduct-registrationThe review queue. Listing with advanced search and column toggles; no add button
Warranty Certificatewarranty-certificateListing of issued certificates. Read-only from this applet — the applet never PUTs or DELETEs a certificate

Opening a registration gives three tabs:

TabContents
Main DetailsThe 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
AttachmentsFiles 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 CertificatesThe 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.

Team Permission, Client-Side Permission, Role–Pricing-Scheme Link, Feature Visibility and the Webhook screen have routes in this applet but no menu entry: neither the applet’s own five items nor the shared settings frame links them. Client-Side Permission is what Settings opens on; the other four are reachable by URL only.

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 PRINTABLE key 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:

SettingWhere it is setWhat it controlsDefaultEffect when changed
PRINTABLESettings > Printable Format Settings (set as default)The printable format the certificate export pane pre-selectsnoneThe export pane on both Product Registration and Warranty Certificate opens on the chosen format
DEFAULT_COMPANYSettings > Default Selection (filled automatically from the branch you pick)Resolved by the shared session effect into the applet’s default companynoneLoaded into the session; neither listing is filtered by it
DEFAULT_BRANCHSettings > Default SelectionResolved by the shared session effect into the applet’s default branchnoneLoaded into the session; neither listing is filtered by it

Saved by a real control but read by nothing:

SettingWhere it is setStatus
DEFAULT_LOCATIONSettings > Default Selection (auto-filled from the branch’s MAIN_LOCATION)Written; no reader in the applet
Default sender e-mailSettings > Default SelectionWritten; 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 templateSettings > Default SelectionWritten; no reader
Default declined e-mail templateSettings > Default SelectionWritten; 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..5Settings > Custom StatusSaved, 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:

FamilyGates
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.

FieldMeaningRequiredNotes
Customer NameThe registered ownerYesFree text, copied onto the certificate when you approve. Changing it here changes the name the certificate carries, not the customer record
Customer Email, Customer MobileOwner’s contact detailsNoNot 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 NameThe itemNo on the form; copied from the storefront’s selectionTyping here changes nothing: the form does not write this box back to the record
Serial No.The unit’s serial number(s)NoStored 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 DateDate of purchaseNoThe start date an expiry is counted from when the form fills one in for you (see Warranty Expiry Date)
Purchased FromDealer or channelNoNot set by the storefront — someone in the back office types it
Warranty PeriodCoverage durationNoFilled 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 DateLast day of coverageNoFilled 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

ActionEffect
SAVESaves the registration. Nothing else
APPROVESets 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
DECLINESets 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

SymptomCauseFix
Save refused: the membership card is missing or not foundEvery registration must carry a membership card that resolves, and the back-office form has no control for itFix the membership link through the API
Save refused: the customer is not foundThe customer entity the registration points at does not exist or was deletedRestore or repoint the entity
Warranty Period and Expiry Date are blank when you open a registrationThe 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-mailThe applet sends no e-mailOpen the registration’s Warranty Certificates tab, print or export the PDF, and send it yourself
Two certificates for one registrationNothing stops a second certificate for one registration; this applet offers APPROVE only while PENDING, so at least one was written outside itDelete the duplicate through the certificate API — the applet has no delete
A registration shows APPROVED but has no certificateThe 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 APPROVERefresh 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 ACTIVEThere is no expiry job and no EXPIRED statusCompare the warranty expiry date yourself
Application Settings changes have no effectThe shared settings screen shows the generic document set, and the applet uses none of them except the Audit Trail switchOnly 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 foundTeam 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 loadingThe 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 approvedIt did not come through this applet’s APPROVECheck 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

Related documentation

Last updated on