CS代写 | NIT2113 Colud application Development

 

               NIT2113 Colud application Development

                             Assignment 2

 

The salesforce is the platform that helps  companies build relationships with customers  in order to increase the productivity and understand their needs solve their problems easier, and identify opportunities by information. customers who buy products from invoices the retailer issues to customers, and customer bought which product.

The assignment is to build the relationships between customers and products, we are going to show how it works.

Task 1 Create invoice object

Step 1. Invoice object

Click Set up –Object—New custom object

Fill in detail as shown and save.

Step 2. 

Create customer number …. under invoice

Set up – invoice—Custom field& relationships -New

Under data type select Number button –Next- Label name( Customer number ) –Next -Save&New.

Fill detail as shown

 

Select Data type (Number)—Next –Fill details ( label name Invoice number -same with last step) –Next—Save&New.

Select Data type(Picklist)—Next –Fill details (label name status of invoice -same with last step)-Next—Save&New.

Select Data type(Number)—Next—Fill details (label name invoice total-same with last step)—Next—Save.

Invoice task complete as shown.

 

Task 2 Create Laptops object

Step 1 Laptops object

Click Set up –Object—New custom object

Fill in detail as shown and save.

Step 2.  Create Number used by retailer….under Laptops.

Set up – Laptops—Custom field& relationships -New

Under data type select Number button –Next- Label name( Number used by retailer ) –Next -Save&New.

Fill detail as shown

Select Data type (Text)—Next –Fill details ( label name Manufacturer -same with last step) –Next—Save&New.

Select Data type(Text)—Next –Fill details (label name Model -same with last step)-Next—Save&New.

Select Data type(Currency)—Next –Fill details (label name Price -same with last step)-Next—Save&New

Select Data type(Number)—Next—Fill details (label name Quantity in stock -same with last step)—Next—Save.

Laptops task complete as shown.

Task 3 Create Line items Object

Step 1 Line items

Click Set up –Object—New custom object

Fill in detail as shown and save.

Step 2. 

Create Line item number….. under Line items

Set up – Line items —Custom field& relationships -New

Under data type select Number button –Next- Label name( Line item number ) –Next -Save&New.

Fill details as shown.

Select Data type (Text)—Next –Fill details ( label name Invoice of the Line item -same with last step) –Next—Save&New.

Select Data type(Text area)—Next –Fill details (label name Laptop model sold on Line item -same with last step)-Next—Save&New.

Select Data type(Number)—Next—Fill details (label name Quantity of that model on Line item -same with last step)—Next—Save.

Line items task complete as shown.

 

Task 4 Create customer details

Step 1.

Click Set up –Object—New custom object

Fill in detail as shown and save.

Step 2.  Create Customer number…. under Customer details.

Set up – Customer details —Custom field& relationships -New

Under data type select Number button –Next- Label name( Customer number) –Next -Save&New.

Fill details as shown.

Select Data type (Text200)—Next –Fill details ( label name Customer surname -same with last step) –Next—Save&New.

Select Data type(Text 200)—Next –Fill details (label name Customer first name -same with last step)-Next—Save&New.

Select Data type (Long text area)—Next –Fill details ( label name Customer’s shipping address -same with last step) –Next—Save&New.

Select Data type(Long text area)—Next –Fill details (label name Customer’s billing address -same with last step)-Next—Save&New.

Select Data type(Phone)—Next –Fill details (label name Customer’s phone number -same with last step)-Next—Save&New.

Select Data type(Email)—Next—Fill details (label name Customer’s email address -same with last step)—Next—Save.

Line items task complete as shown.

Task 5 Relating Objects

Step 1 Line items to Invoice and Laptops

Set up—Line items—Custom Fields&Relationships—New—Master-detail relationship(radio button)—Next—choose the related object—Related to—Invoice—Next—Enter the label details—Field name=Invoice—Next—Next—Next—Save&new.

 

Master-detail relationship(radio button)—Next—choose the related object—Related to—Invoice—Next—Enter the label details—Field name=Laptop—Next—Next—Next—Save.

Step 2, Invoice relate to Customer.

Set up—Invoice—Custom Fields&Relationships—New—Lookup relationship (radio button)—Next—choose the related object—Related to—Customer—Next—Enter the label details—Field name=Invoice—Next—Next—Next—Save.

Repeat all process for Line item2 , Laptop2, Customer2, after that you will see as follow;

Task 6 Build schema

Step 1; set up – Create—Object—Schema builder

Step2; Select Invoice , Laptop,laptop2 , Line items, Line item2, Customer details, Customer2  –Auto-layout .

Schema shown as below.

 

 

                         Conclusion

To sum up,  by salesforce platform , we built the relationships between customers and products clearly and we understand how the cloud application works .Relations makes framework easier to understand.