Requirement of franchisee business model
Brain Storming
- Branch send purchase order to it's super organisation
- It's super organisation create new kind of sales order based on the purchase order from branch.
- Branch and super organisation should be able to share product master except purchase price.
- Super organisation should be able to convert the order from branch to a purchase order to actual supplier directly.
- Super organisation should be able to process the order from branch and set it's status to sent out etc.
Roles
- Purchase order manager for franchisee
- "加盟店品项管理员" for parent organisation
User cases
-
System admin should be able to create another type of sub organisation and mark it as a dedicate type: franchisee
-
User under this franchisee should be able to see product and product category master data with the parent organisation
-
User under this franchisee should not be able to
- See purchase price of all the products
- See supplier field and any related information of the products.
- See inventory related data of the product
-
"加盟采购单"
- Can be deleted when it's not sent out.
- Can be edit by system admin when it's sent out, but not marked as shipped.
-
When user in a franchisee created a "加盟采购单", the supplier will be lock to it's parent organisation, and all the product will be available for select when adding lines.
- User will not be able to see the purchase price of the product.
- User will be able to see the "加盟商拿货价" of the product.
- User will be able to see the total amount calculated based on the "加盟商拿货价"
- User will be able to submit the "加盟采购单",
-
One role in the parent organisation("加盟店品项管理员") will receive the "加盟采购单" via sms / email.
-
The "加盟店品项管理员" will be able to set status of the "加盟采购单" to "Received/已接受", at that time:
- The creator of the "加盟采购单" in the franchisee will receive a sms / email at that time.
- System will calculate the "Locked inventory" based on this order.
-
The "加盟店品项管理员" should be able to create one or more purchase order based on this "加盟采购单",
- The created purchase order will be split by supplier,
- Which item/how many quantity will be included in the purchase order could be changed at creation time.
-
The "加盟店品项管理员" will be able to set status of the "加盟采购单" to "已发货", at that time:
- The creator of the "加盟采购单" in the franchisee will receive a sms / email at that time.
- System will create corresponding "Inventory transaction" record in DB and all the inventory need to be reduced from parent organisation's available inventory, and add up to franchisee's "in transit inventory"
-
The creator of the "加盟采购单" in the franchisee can mark the order as "received" and at that time
- "加盟店品项管理员" of it's parent organisation will receive an SMS/email regarding that.
- Creator will be able to set received qty for each item in the order.
- "In transit inventory" related to this "加盟采购单" will be changed to "available quantity" for this sub organisation.
-
Report related requirements
-
Parent organisation should be able to see the operation details of the franchisee, include
- Monthly Profit
- Inventory detail
- Best sell product
-
Franchisee should also be able to see it's own operation details
- Monthly Profit
- Inventory detail
- Best sell product
- Give advice on inventory details and recommendation.
Model changes
- Add a new field called ""加盟商拿货价" in product.
- Add a new field called "organisation type" in organisation, which is a enum type and the value could be
- Direct Selling Store (直营店)
- Franchise Store (加盟店)
- Add a new type of order called "加盟采购单" which contains the follow fields
- ID (Primary key)
- Description
- Create date
- Total amount
- Target Organisation(Hide in UI)
- Lines
- Product
- Quantity
- Price
- Total amount
UI Changes and new operations
- List/Create/Edit "加盟采购单" page for franchisee organisation.
- Mark "加盟采购单" as "received" operation on the "加盟采购单" list or view detail page.
- Mark "加盟采购单" as "delivered" operation on the "加盟采购单" list or view detail page.
- Receive 加盟采购单 operation page for franchisee organisation.
- Report page for parent organisation and franchisee organisation.
Seed data change:
- Organisation type
- Direct Selling Store (直营店)
- Franchise Store (加盟店)
- "加盟采购单" status list
- Created
- Sent out
- Order Received
- Shipped
- Partically goods received
- Goods All Received
- Role for "加盟采购单"
- Create
- View
- Delete
- View detail
- Role for "加盟店品项管理员"
Messages
- One role in the parent organisation("加盟店品项管理员") will receive the "加盟采购单" via sms / email.
- The "加盟店品项管理员" will be able to set status of the "加盟采购单" to "Received/已接受", at that time:
- The creator of the "加盟采购单" in the franchisee will receive a sms / email at that time.
- The "加盟店品项管理员" will be able to set status of the "加盟采购单" to "已发货", at that time:
- The creator of the "加盟采购单" in the franchisee will receive a sms / email at that time.
- The creator of the "加盟采购单" in the franchisee can mark the order as "received" and at that time
- "加盟店品项管理员" of it's parent organisation will receive an SMS/email regarding that.