This assignment is designed to help you become familiar with the Apache OFBiz data model by interacting with both the user interface (UI) and the backend (via webtools and XML data loading). Follow each section’s steps carefully. If you have any questions, please reach out to your supervisor.
Important Links:
- Party Manager Screen: Party Manager
- Product Store Screen: Product Store Manager
- Catalog Screen: Catalog Manager
- Order Screen: Order Manager
In OFBiz, a “party” can be a person or an organization. You will create several person records, assign customer roles, update details, and modify related contact information. There are four activities.
Use the Party Manager Screen to execute the following steps.
- Create and Update a Person
- Log in to the Party Manager.
- Create a Person: Create a person with the name “Mark Tailor.”
- Assign a Role: Assign the Customer role to this person.
- Update Name: Change the name from “Mark Tailor” to “Mark K Tailor.”
- Add Contact Information to Customer Profile
- Add an email address.
- Add a billing phone.
- Add a shipping phone.
- Add a shipping address.
- Add a billing address.
- Synchronize and Modify Addresses
- Set the billing and shipping addresses to be the same.
- Change the purpose of the billing address to “General correspondence address.”
- Modify Contact Records
- Delete (or mark as expired) the existing email address and add a new one.
- Delete (or mark as expired) the existing billing address and add a new one.
- Delete (or mark as expired) the existing shipping address and add a new one.
Repeat the steps in Activity 1 using the Webtools interface:
- Create a Person:
- Create a person named “John Liston.”
- Assign the Customer role.
- Update the name to “John D Liston.”
- Add/Update Contact Information:
- Add an email address, billing phone, shipping phone, shipping address, and billing address.
- Set billing and shipping addresses to be the same.
- Change the billing address purpose to “General correspondence address.”
- Delete and recreate the email address, billing address, and shipping address as specified.
- Observation:
- After making changes, review the party profile page to verify that your updates are correctly reflected.
- Using Party Manager:
- Create a person named “John Hays.”
- Assign the Customer role.
- Update the name to “John B Hays.”
- Add an email address, billing phone, and two shipping phone numbers.
- Add a shipping address and a billing address.
- Set the billing and shipping addresses to be the same.
- Change the billing address purpose to “General correspondence address.”
- Additional: Create a credit card record for this customer.
- Using Webtools:
- Add a user login for the newly created party.
- Assign a security group that grants access to the Party Manager application.
- Verify that the new user login has access to the Party Manager.
- Final Updates:
- Delete and recreate the email address.
- Delete and add new billing and shipping addresses.
- Observation:
- Check the party profile page in both the Party Manager and Webtools to ensure the updates appear correctly.
- Using Party Manager:
- Create a person named “David Zeneski.”
- Assign the Customer role.
- Update the name to “David R Zeneski.”
- Add an email address, billing phone, shipping phone, shipping address, and billing address.
- Set the billing and shipping addresses to be the same.
- Change the billing address purpose to “General correspondence address.”
- Additional: Create a credit card record.
- Using Webtools:
- Add two user logins for this party.
- Assign one user login to a security group for Order Manager access.
- Assign the other user login to a security group for Party Manager access.
- Verify that each user login has the correct access permissions.
- Final Updates:
- Delete and recreate the email address.
- Delete and add new billing and shipping addresses.
- Observation:
- Review the party profile page to confirm that all changes and access settings are correct.
In this part, you will create and configure the company information, roles, product store group, and product store. You will then use both the UI and XML methods to load the data.
Use the product store manager screen to execute the following steps.
- Create a Company:
- Company ID:
COMPANY
- Company Name:
Default Company
- Company Logo URL:
/resources/uploads/images/company_logo.png
- Company ID:
- Assign Roles to the Company:
- Roles to add:
- Bill From Vendor
- Ship From Vendor
- Bill To Customer
- Internal Organization
- Supplier Agent
- Supplier
- Vendor
- Roles to add:
- Create a Product Store Group:
- Store Group Name:
Company Store Group
- Description:
Company Store Group
- Store Group ID:
STORE_GROUP
- Store Group Name:
- Create a Product Store:
- Store ID:
STORE
- Store Name:
Demo Store
- Group:
Company Store Group
(useSTORE_GROUP
) - Company Name:
Company
- Store Attributes:
- Primary Store Group ID:
STORE_GROUP
- Inventory Policy:
Non-reserving
- Locale:
English (US)
- Currency:
USD
- Sales Channel:
Web Sales
- Invoice and Order Approval:
Automatic
- Primary Store Group ID:
- Store ID:
- Observation:
- Verify your Product Store data by visiting the Product Store screen.
- Reset the local OFBiz database.
- Repeat Activities 1-4 using the Webtools interface.
- Observation:
- Use the OFBiz admin screens to verify that the Company, Company Roles, Product Store Group, and Product Store are correctly created.
- Reset the local OFBiz database.
- Prepare the data (from Activities 1-4) as an XML file.
- Load the XML file using Webtools.
- Observation:
- Confirm via the admin screens that all data (Company, Roles, Product Store Group, and Product Store) is properly loaded.
In this section, you will create a catalog, define categories, features, products, and promotions. You will then verify the data using both UI and XML load methods.
- Create the Catalog:
- Name your catalog “Shoes Catalog.”
- Define Categories:
- Browse Root
- Men
- MSports
- MFormal
- MParty
- Women
- WSports
- WFormal
- WParty
- Children
- Promotion
- Men
- Browse Root
- Observation:
- Verify your Catalog creation by visiting the Catalog screen at:
https://localhost:8443/catalog/control/FindCatalog
- Verify your Catalog creation by visiting the Catalog screen at:
- Features:
- Size: 7, 8, 9, 10, 11
- Color: Red, Black, White, Brown
- Products:
- Virtual Products
- Under Men > MSports:
- MS-1: Colors - White, Brown; Sizes - 7, 8, 9, 10
- MS-2: Colors - Red, Black; Sizes - 7, 10
- Under Men > MFormal:
- MF-1: Colors - Red, Black; Sizes - 7, 10
- MF-2: Colors - White, Brown; Sizes - 7, 8, 9, 10
- Under Men > MParty:
- MP-1: Colors - White, Brown; Sizes - 7, 8, 9, 10
- MP-2: Colors - Red, Black; Sizes - 7, 8, 9, 10
- Under Women > WSports:
- WS-1: Colors - White, Brown; Sizes - 7, 8, 9
- WS-2: Colors - Red, Black; Sizes - 7, 8
- Under Women > WFormal:
- WF-1: Colors - White, Brown; Sizes - 7, 8, 9
- WF-2: Colors - Red, Black; Sizes - 7, 8, 9
- Under Women > WParty:
- WP-1: Colors - White, Brown; Sizes - 7, 8
- WP-2: Colors - Red, Black; Sizes - 7, 8
- Under Children:
- C-1: Colors - White, Brown; Sizes - 2, 3, 4, 5
- C-2: Colors - Red, Black; Sizes - 2, 3, 5
- Under Men > MSports:
- Virtual Products
- Promotion Products:
Create a promotion that includes the following products:- MS-1 (White, Brown; Sizes 7, 8, 9, 10)
- MF-2 (White, Brown; Sizes 7, 8, 9, 10)
- MP-1 (White, Brown; Sizes 7, 8, 9, 10)
- WS-1 (White, Brown; Sizes 7, 8, 9)
- WF-1 (White, Brown; Sizes 7, 8, 9)
- WP-1 (White, Brown; Sizes 7, 8)
- C-1 (White, Brown; Sizes 2, 3, 4, 5)
- C-2 (Red, Black; Sizes 2, 3, 5)
- Reset the local OFBiz database.
- Repeat Activities 1-3 using the Webtools interface.
- Observation:
- Use the Catalog screen (https://localhost:8443/catalog/control/FindCatalog) and other admin screens to verify that the Catalog, Categories, Features, Products, and Promotions are set up correctly.
- Reset the local OFBiz database.
- Prepare the catalog data (from Activities 1-3) as an XML file.
- Load the XML data using Webtools.
- Observation:
- Verify via the admin screens that the catalog and its associated data are correctly imported.
In this final section, you will work with orders—creating orders, approving them, canceling items, and fulfilling shipments. This activity will help you understand the order lifecycle in OFBiz.
Use the order manager screen to execute the following tasks.
- Order Details:
- Order ID:
HWMDEMO1000
- Order Status: Created
- Order Items: Select any two products from your catalog.
- Order Items Status: Created
- Customer: Mark Tailor
- Order ID:
- Shipping Details:
- Shipping Address:
HotWax Media Inc. 136 S MAIN ST #A200 Salt Lake City, UT, USA Zip: 84101 Phone: 877.736.4080 Email: [email protected]
- Shipping Method: UPS Ground
- Shipping Address:
- Billing Details:
- Billing Method: Credit Card - Visa (e.g., 4111 1111 1111 1111)
- Billing Address: Same as the shipping address
- Order Details:
- Order ID:
HWMDEMO1001
- Order Status: Approved
- Order Items: Select any two products from your catalog.
- Order Items Status: Approved
- Customer: Mark Tailor
- Order ID:
- Shipping Details:
- Shipping Address:
HotWax Media Inc. 136 S MAIN ST #A200 Salt Lake City, UT, USA Zip: 84101 Phone: 877.736.4080 Email: [email protected]
- Shipping Method: UPS Ground
- Shipping Address:
- Billing Details:
- Billing Method: Credit Card - Discover
- Billing Address: Same as the shipping address
- Update the Order: (Order ID:
HWMDEMO1001
)- Order Status: Cancelled
- Order Items Status: Cancelled
- Shipping Method: FEDEX Ground
- Billing Method: COD
- Ensure that the customer details and addresses remain as specified.
- Update the Order: (Order ID:
HWMDEMO1001
)- Order Status: Completed
- Order Items Status: Completed
- Update Customer Details:
- Customer: Mark Tailor
- Shipping Address:
HotWax Media Inc. 307 W 200 S Suite 4003 Salt Lake City, UT Zip: 84101 Phone: 888.405.2667 Email: [email protected]
- Shipping Method: UPS Ground
- Billing Method: Credit Card - AMEX
- Billing Address:
HotWax Media Inc. 307 W 200 S Suite 4003 Salt Lake City, UT Zip: 84101 Phone: 888.405.2667
- Order Shipment:
- Create a shipment record with:
- Shipment ID:
HwmDemo1000
- Shipment ID:
- Create a shipment record with:
- Reset the local OFBiz database.
- Repeat Activities 1-4 using the Webtools interface.
- Observation:
- Verify the created order, approved order, order with cancelled items, shipment, and completed order using the OFBiz admin screens.
- Reset the local OFBiz database.
- Prepare the order data (from Activities 1-4) as an XML file.
- Load the XML file using Webtools.
- Observation:
- Confirm that all order-related data (including shipments) is correctly reflected in the admin screens.