Logistics and warehouse on Salesforce

Warranty check and claim on Salesforce

Looks up a serial number, shows the coverage from the warranty and the sale, decides the claim and creates the service order for the repair or replacement.

SCREENSDATA HANDLERSSALESFORCE · READ IN PLACES01 Serial lookupS02 Coverage detailS03 Customer portalS04 Claim decisionS05 Service orderS06 Boarddh_warrantyWarrantyAsset · Entitlementdh_customer_masterCustomer masterAccountdh_sales_order_lineSales order lineOrder · OrderItemdh_return_orderReturn orderReturnOrder · ReturnOrderLineItemdh_quotationQuotationQuote · QuoteLineItem (or SBQQ__Quote__cwith CPQ)WRITE BACK TO SALESFORCEWarranty → PATCH sobjects/Asset · POST CaseReturn order → PATCH sobjects/ReturnOrderQuotation → PATCH sobjects/Quote (Status, approval fields)rows stay in Salesforce · access rules applied at read time · each write acknowledged and logged
The screens of the app, the data handler behind each, and the Salesforce object it reads in place. Writes below the line go through released interfaces with an acknowledgement.
5
objects read in place from Salesforce
catalogue
6
screens on those rows
catalogue
5 days
to production-grade
estimate
3
objects written back
catalogue
0
rows copied to build it
product
What the app reads

The Salesforce objects behind each handler

Objects are read in place through the REST and Bulk APIs, and changes arrive through Change Data Capture events, so a screen shows a record seconds after a seller edits it. The rows stay in Salesforce.

ObjectRead fromFields the app usesFreshness
WarrantyAsset · EntitlementAsset.Id (equipment) · Asset.SerialNumber (serial) · Entitlement.StartDate (warranty start) · Entitlement.EndDate (warranty end)live through the API
Customer masterAccountAccount.Id / AccountNumber (id) · Account.Name (name) · Account.BillingCountry (country) · Account.OwnerId (territory) (sales org)live through the API
Sales order lineOrder · OrderItemOrder.OrderNumber (number) · OrderItem.Id (line) · Order.AccountId (customer) · OrderItem.Product2Id (material)live through the API
Return orderReturnOrder · ReturnOrderLineItemReturnOrder.ReturnOrderNumber (number) · ReturnOrder.AccountId (customer) · ReturnOrderLineItem.ProductId (material) · ReturnOrderLineItem.QuantityReturned (qty)live through the API
QuotationQuote · QuoteLineItem (or SBQQ__Quote__c with CPQ)Quote.QuoteNumber (number) · Quote.AccountId (customer) · Quote.TotalPrice (value) · Quote.ExpirationDate (valid to)live through the API
The trigger

The start criterion in Salesforce's own fields

In plain words: A service agent or a customer enters a serial number and a fault description on S01.

This app starts from a screen, so the first read happens when the instance opens; the criteria on the arrows use the fields above.

Start

A service agent or a customer enters a serial number and a fault description on S01. The instance then reads its rows from Salesforce through the handlers above.

What the app writes back

Through released interfaces

Writes go through the REST API (update and composite calls) under the integration user's profile and sharing rules. Each call returns the record ID or an error message, and the app records both beside the decision.

ObjectWhat changesInterface
Warrantyclaim decision recorded against the warranty of the serial; a service order created through the service order interface for a covered repair or replacement, with fault, priority and engineerPATCH sobjects/Asset · POST Case
Return orderreturn order created with the serial and reason code when the unit comes backPATCH sobjects/ReturnOrder
Quotationrepair quotation created for a chargeable fault and sent to the customer for acceptancePATCH sobjects/Quote (Status, approval fields)
Acknowledged and logged

Each write stores the identifier Salesforce returns beside the decision, the person and the time, so the log answers who changed what, and the reconciliation shows it arrived.

Access and prerequisites

What is in place before the first build

Profiles, roles and sharing rules are mapped to Lima access policies once. A seller who sees their own opportunities in Salesforce sees the same rows in the app.

  • A connected app and integration user with API access and object permissions for the objects the app uses
  • Change Data Capture enabled on the objects that should refresh within seconds
  • Field-level security reviewed for the fields the app writes
  • Sharing model agreed with the sales operations owner
Register the handlers5 objects from the catalog; each shows its rows at once.
Nearby

This app on other systems, and other apps on Salesforce

Warranty check and claim on

Other apps on Salesforce

Terms on this page

Serial numberThe identifier of one physical unit of a product; the equipment record in the ERP carries it.
Master warrantyThe warranty terms attached to the equipment record: start, end and the faults it covers.
Read in placeThe rows stay in Salesforce; the handler sends the filter and the columns and Salesforce returns the matching rows.
Questions

Does this app copy data out of Salesforce?

The screens read through handlers that leave the rows in Salesforce. History the app needs at scale is landed in the lake by the Backbone, which is the exception by design.

What does Salesforce need to allow?

The prerequisites above: an integration identity with read rights on the objects listed and write rights on the interfaces named, connectivity, and the scopes agreed with the process owner.

Can I run it on another system as well?

Yes. The screens, criteria and roles stay; the handlers are re-bound to the other system's objects, and the app's other system pages show them.

See this app on your data

Bring the process and the systems it touches. In the first session we register the data handlers, draw the levels or the lanes and run the first screen on your live rows.