Skip to content

PoC Pre-0: Master Data Foundation

Functional Objective: Establishes the organizational hierarchy, military command regions, distribution depot centers, multi-company fiscal ledgers, standard commodity groups, primary depot storage zones, and baseline canteen outlets required across all downstream Domain workflows.


Master Data Hierarchy & Multi-Entity Creation Flow

Demonstrates creation of Command Regions, Depot Distribution Centers, Company & Fiscal Years, Chart of Accounts, UOMs, Commodity Groups, Warehouses, and Canteen Outlets.


  • Region (Region): Command-level operational hierarchy (Northern Command, Western Command).
  • Distribution Center (DistributionCenter): Area Depot provisioning and routing hub (Delhi Area Depot).
  • Company & Fiscal Year (Company, FiscalYear): Legal entity configuration with INR currency and Indian financial year (FY 2026-27).
  • Chart of Accounts (Account): Standard double-entry ledgers including CFI Daily Remittance, SBI Defence Account, Trade Debtors, and Creditors.
  • Units of Measure (UOM): Standard measurement units (Nos, Box, CasePack24).
  • Item Groups (ItemGroup): Standard CSD product groups (GS - Toiletries, LIF - Liquor, AFD - Vehicles).
  • Warehouses & Storage Zones (Warehouse, Zone): Multi-rack bonded depot storage configurations.
  • Canteen Outlets (Outlet): Unit Run Canteens (URC-RFC Red Fort Canteen) linked to parent area depots.

๐Ÿ—๏ธ Technical Architecture & Dependency Mapping

Section titled โ€œ๐Ÿ—๏ธ Technical Architecture & Dependency Mappingโ€
graph TD
    REG[Region: Northern Command] --> DC[DistributionCenter: Delhi Area Depot]
    DC --> WH[Warehouse: Delhi Main Store]
    DC --> OUTLET[Outlet: Red Fort Canteen]
    COMP[Company: CastleCraft Defence CSD] --> FY[FiscalYear: 2026-27]
    COMP --> ACC[Chart of Accounts x6]
    COMP --> WH
    IG[ItemGroup: GS, LIF, AFD] --> ITEM[Item Masters]
    UOM[UOM: Nos, Box, CasePack] --> ITEM

Step Entity Key Data Fields Business Rule Enforced
0-A Region region_code: NC, region_name: Northern Command Unique command identifier
0-B DistributionCenter depot_code: DAD, depot_name: Delhi Area Depot Foreign-key linked to Region
0-C Company name: CastleCraft Defence CSD, default_currency: INR Multi-company root configuration
0-D FiscalYear start_date: 2026-04-01, end_date: 2027-03-31 Indian fiscal year boundary validation
0-E Account CFI Remittance, SBI Defence, Debtors, Creditors Root & child ledger types
0-F UOM Nos (Base), Box, CasePack24 Conversion ratios and base UOM flags
0-G ItemGroup GS Group I, LIF Group IV, AFD Group VII 7-category commodity classification
0-H Supplier Alpha Defence Supplies Pvt Ltd Master vendor record
0-I Customer HQ Western Command Canteen Master beneficiary/buyer profile
0-J Warehouse WH-DAD, Distribution Center: DAD Physical stock balance root
0-K Outlet URC-RFC, Red Fort Canteen Active status & depot dependency