Data packs
The YAML file that describes the company, its people and its trade for a run.
A data pack describes one kind of business. --pack NAME reads priv/packs/NAME.yaml in the Seed app, and a run checks the pack before it starts. Each domain reads its own section.
| Pack | Company | Sections |
|---|---|---|
electronics_in | Kesar Electronics Distributors Pvt Ltd, Ahmedabad, INR | All, including crm |
revaik_in | Revaik Private Limited, the same business under another name | All but crm |
The packs are compiled into the app. A new industry is a new pack file in the Seed checkout, with no code change, followed by a rebuild.
Sections
| Key | Holds |
|---|---|
name, description, email_domain | The pack's name, a line for people, and the domain every seeded email uses (example.in) |
company | Name, abbreviation, country, currency, chart, fiscal year start, address, share capital, and the bank with its floor |
calendar | The weekly day off, demand per weekday and per month, yearly growth and price_inflation, and holidays |
users | Per role, the team size, extra roles (also), and the department, designation and grade the users get as employees |
erp | Price lists, warehouses, item groups, items, supplier types, customer groups, territories, payment habits, expense lines, fixed assets, and the lags and shares of buying and selling |
gst | Shares of registered customers and suppliers, the invoice series, the payment day, nil-rated items, and reverse charge services |
crm | The lead share of N, reps' hours and SLA times, lead sources, territories, export markets, and the shares of leads and deals at each outcome |
hrms | Branches, departments, designations, grades with salary bands, the shift, leave policy, attendance habits, attrition, increments and expense claims |
Each share list adds up to 1.
Example
company:
name: Kesar Electronics Distributors Pvt Ltd
abbr: KED
country: India
currency: INR
chart_of_accounts: Standard
fiscal_year_start: "04-01"
share_capital: 7500000
bank: {name: State Bank of India, account_name: Current Account, floor: 300000}
calendar:
weekly_off: [Sun]
weekdays: {Mon: 1.0, Tue: 1.0, Wed: 1.0, Thu: 1.0, Fri: 1.05, Sat: 0.5, Sun: 0.03}
growth: 0.18
price_inflation: 0.06
users:
- {role: Sales User, count: 4, department: Sales, designation: Sales Representative, grade: G2 Associate}
- {role: Sales Manager, count: 1, department: Sales, designation: Head of Marketing and Sales, grade: G4 Manager, also: [Sales Master Manager]}With this pack, Monday brings full demand, Saturday half, and Sunday almost none. Prices rise 6 percent each fiscal year, and the Friday supplier run never takes the bank below 300,000.
Holidays
holidays.fixed lists dates as MM-DD that repeat every year, such as 01-26 for Republic Day. holidays.dated lists festivals that move, per year. A year missing from dated gets the fixed holidays alone. Holidays have no demand and no attendance.
Names and addresses
People, businesses and addresses come from word lists in priv/words/: Indian first names and surnames weighted towards Gujarat, business name parts such as Balaji, Electronics and Pvt Ltd, street and building names, and cities and states with their PIN and GST state codes. A change to a list changes the people every seed gives.