DMART-Case Study
DMART-Case Study
Type of Users:
1. Merchandise User
2. Sales User
3. Support Users (2 Teams – one for India & the other for US)
4. CEO
This application is going to use mainly 3 custom objects for end to end
automation of DMart application. Below are the 3 Objects and its purpose.
Objects:
Custom Objects:
1. Merchandise:
a. Merchandise Name - Text
b. Merchandise Desc - Textarea
c. Merchandise Stock – Number (*to indicate quantity)
d. Merchandise Price – Currency
e. Merchandise Country – Picklist(IND/USA)
f. Merchandise States – Picklist(UP/MP/NY/NJ)
2. Sell Item:
a. SellItem Name - Text
b. SellItem Desc - Textarea
c. SellItem Stock – Number (*to indicate quantity)
d. SellItem Price – Currency
e. Total SellItem Price: formula field (SellItem.Stock *
SellItem.Price)
3. Invoice:
a. Invoice Number – Auto Number
b. Invoice Desc - Textarea
c. Invoice Status - Picklist(Open/Closed/Finalized/Bargain)
d. Invoice Close Date – Date
e. Invoice Total Price – Roll-up Summery (Sum of “Total SellItem
Price” from SellItem Object)
ERD:
Use Cases:
16) Create Home Page for the Dmart App. This should have the
dashboard you created above and another component using which a
user can first select any merchandise from a list of merchandises and
then in the next screen enter a discount percentage. Once submitted,
the price of the merchandise should be reduced by the discount
percentage specified. Also the Description field of all SellItems for this
Merchandise should now also have this text appended “This item was
sold with an old price!” (use screen based flow for this component).
17) Have a button on the Invoice record page that when clicked will
create & open a PDF of the invoice. Implement with LWC and use Parent
– Child relationship between 2 components.
18) Create a single page application using LWC for Merchandise using
which a user can Add, Search, Delete, Show merchandise records.
Implement Modals, Apex, LDS, Pagination & Data Table.