Thought log (v1)
Jotted down whatever came to mind
Flow Sense helps you deliver products within 24 hours.
user's list
- SR (Sales Representative) - takes order
- DSR (Delivery Sales Representative) - deliver's order
- Client (each client will have their own mapping and own levels of maps), Each client will have their own SRs
- Admin
- Dev
requirements
client + mappings
- i have multiple clients
- each client will have their own area to work
- each area can be divided into one or more sub groups (for example divisions > each divisions into multiple regions > each regions mutiple zones)
- final area (zone can be divided upto many areas that will be linked to specific user (SR))
- each client can have their own set of level of map divisions (one client can divide each areas into more sub areas upto 3 level, other client can work with only 2 level)
- so one shop that is in one area for one client, can be in different area for another client
SR mapping to routes
- each SR will be linked to 6 different areas (each area will contain 70+ shops)
- so each SR have their own routes defined based on the work day
products' list
- each client will have their own set of products
- initialy i will get the product's list with different pricings from an api from external source
- we can fetch every time or run a cron job to store it in a table in our db
order + delivery
- each SR will start working on app
- Open app for a specific day
- For example the day is Saturday
- The SR has a linked area
- The linked area has 70+ shops
- SR will go to each shop and order products (product wise count) based on the client (each client will have their own SR)
- While ordering products, they will also take multiple pictures
- these photos will be uploaded to r2 cloud storage from the app
- so we also need to track the pictures for the specific order
files
- each specific task can upload any amount of files (images or audio files or anything)
- ...
delivery
- at the end of the day after all orders has been taken, now in the next day the distributor will start processing the order
- distributor will have their own DSRs with thei own vehicles and drivers (delivery guys)
- based on the ordered products and delivery vehicles they will also also have a generated optimized routes (4 SRs will take order, only 2 vehicles are available, so 2 optimized routes will be generated for the DSRs, can be done manually also)
- each DSR will deliver products to the linked shops (based on the linked area)
- DSR will go to each shop, see the order and deliver the order products
- for example, for shop-1 ordered products are egg (3 pieces), milk (2 cartoons), banana (6)
- he does not have enough milk, but more bananas so he may deliver only 1 milk but 10 bananas
- he will need to collect cash / bills according to what he delivered
- shop keeper sometimes may not provide full bill provide partial or none (in credit, need to track this)
- until prev dues have been cleared there should be a warning when SO will go to take order in next visit from the shop
- after delivering all products and collecting cash from all DSRs, distributors will submit the cash to a bank account
accounts + financing
- when distributors have collected money or from their own pocket, they will deposit to bank
- get a deposit, submit a proof of the slip from the dashboard
- accounts will confirm, upon confirming the baalance will be added to the distributors
- then the distributor can buy stocks
Last updated on