You are on page 1of 2

eScript: Case Studies

1. On Sales Order List Applet, place a button "Cancel Order". The button should be
enabled only if the Status is "Pending". For the other statuses the button should be
disabled.

2. On click of button “Cancel Order”, if Priority is High, display a message "Order


cannot be cancelled"

If Priority is Medium, then, description is mandatory. Display message as


appropriate.

If Priority is Low, then, set the status to Cancelled and Description to "Order #:
<Order Id here> is Cancelled."

3. Quote List Applet


When user changes status to "Inactive", set Active field to "Y"

4. Quote List Applet, place a button "Approved Quotes". On click of button, show
only the quotes with Status "Approved" or "Awaiting Approval"

5. Quote List Applet


If user deletes a quote with Sales Status=’ Order Placed’, the alert “ Cannot delete
quote since this is being progressed for fulfillment’. (Hint: Use Scripting)

6. Goto Sales Order List Applet. Drill down on Order #. This will display Sales
Order Header and corresponding Line Items. If the order line item status=’
Complete’, then Requested Date field on order line item should be read-only.
(Hint: Use BC User Property)

7. Goto Work Order List Applet. When the order type is Work Order, then set Due
Date = Today + 5. If order type is Web Order, then set Due Date = Today + 10,
else Due Date = Today + 7. (Hint: Use BC User Property)

8. Goto Trouble Tickets List Applet. Drilldown on Ticket Id. If the Trouble Ticket
Status is “Closed” then the child activity records should be read-only. (Hint: Use
BC User Property)

9. Goto Work Order List Applet. If the Work Order status=” Closed”, then the work
order record should be read-only. (Hint: Use BC User Property)

10. Goto Offers. If the Channel is “Web”, then Price List is mandatory. (Hint: Use
Field User Property)

Page 1 of 2
eScript: Case Studies

11. Opportunity List Applet


 When a new record is created Probability should be defaulted to 10%
 Use BC field level validation property to check the close date should be
greater that CurrentDate + 5 Days.
 Opportunity Name should be unique. (Hint: Use Scripting)
 When the Opportunity Sales Stage is changed to "07 - Funded", the
Revenue field should be made read only. [Use BC user props]
 When the Opportunity Sales Stage is changed to "07 - Funded", the
Description field should be updated to "Revenue = " <Revenue value
here>.

12. Goto Quotes List Applet. Place a button “Update Opty data”. On click of this
button, the selected quote record should be updated based on following rules

 Ensure the user has entered value in “Opportunity” else alert to select a
value
 For the selected opportunity, get the corresponding currency value and
created date
 Update quote due date to opportunity created date + 15
 Update quote currency field with corresponding Opportunity currency
value

13. Goto Service Request List Applet. Drilldown on SR#. Place a button “Update
Summary” on Service Request header applet “Update Summary”. On click of
button, call a workflow which will
 Update summary of selected service request to “Updated by workflow”
(Hint: Invoke workflow via scripting)

- End of document -

Page 2 of 2

You might also like