Lets a customer request a return, checks eligibility against the order line and the warranty, creates the return order, and releases the credit once the goods arrive.
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.
| Object | Read from | Fields the app uses | Freshness |
|---|---|---|---|
| Return order | ReturnOrder · ReturnOrderLineItem | ReturnOrder.ReturnOrderNumber (number) · ReturnOrder.AccountId (customer) · ReturnOrderLineItem.ProductId (material) · ReturnOrderLineItem.QuantityReturned (qty) | live through the API |
| Sales order line | Order · OrderItem | Order.OrderNumber (number) · OrderItem.Id (line) · Order.AccountId (customer) · OrderItem.Product2Id (material) | live through the API |
| Customer master | Account | Account.Id / AccountNumber (id) · Account.Name (name) · Account.BillingCountry (country) · Account.OwnerId (territory) (sales org) | live through the API |
| Warranty | Asset · Entitlement | Asset.Id (equipment) · Asset.SerialNumber (serial) · Entitlement.StartDate (warranty start) · Entitlement.EndDate (warranty end) | live through the API |
In plain words: A customer submits S01, or customer service enters a return on the customer's behalf.
This app starts from a screen, so the first read happens when the instance opens; the criteria on the arrows use the fields above.
A customer submits S01, or customer service enters a return on the customer's behalf. The instance then reads its rows from Salesforce through the handlers above.
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.
| Object | What changes | Interface |
|---|---|---|
| Return order | return order created with reason, quantity and the original order line; receipt posted against it when the goods arrive | PATCH sobjects/ReturnOrder |
| Sales order line | credit memo request created against the original order line for the received quantity, or a replacement order at zero price | PATCH sobjects/Order |
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.
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.
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.
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.
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.
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.