PowerSeller80 Module Dependency Graph
Library Load Order (from Pwrsell.pbt)
pwrsell → mod_win → pwrpool → pwrtrade → pwrpipe → query → rmrisk → rmbestx →
pricing → fallout → import → pwrpclos → doctrac → bid_pkg → reports → pwrupdt →
archive → security → app_cyph → app_extf → app_macr → app_sec → app_sys → app_util
Module Dependency Diagram
Dependency Matrix
Business Module → Framework Dependencies
| Module | mod_win | app_sys | app_util | app_sec | app_cyph | app_extf | app_macr |
|---|---|---|---|---|---|---|---|
| pwrsell | UI ancestors | gw_frame | reports, prefs | — | — | export | — |
| pwrtrade | w_run_module_window_tabpage | gw_frame | — | — | — | — | — |
| pwrpool | w_run_module_window_tabpage | gw_frame | — | — | — | — | — |
| rmrisk | w_run_module_window_tabpage, w_sys_modal_with_tab | gw_frame | prefs, dw_fn | — | — | — | — |
| rmbestx | w_run_module_window_tabpage | — | — | — | — | — | — |
| rmsfas | w_run_module_window_tabpage, w_sys_modal_dw | gw_frame | prefs, dw_fn, string_fn | — | — | — | — |
| pricing | — | — | — | — | — | — | — |
| fallout | — | — | — | — | — | — | — |
| import | — | — | — | — | — | XML load | — |
| security | — | w_sys_modal_dw | db_fn, versioning | n_cst_user_security | n_cst_encryption | — | — |
| pwrupdt | — | globals | date_fn, dbupdate | — | — | — | — |
Business Module → Business Module Dependencies
| Module | Depends On | Dependency Type |
|---|---|---|
| pwrtrade ↔ pwrpool | Each opens the other's windows (w_pools_open, w_trades_open, w_securities_open) | Bidirectional UI |
| rmrisk → fallout | Uses d_fallout_analysis_rate_history* DataWindows | Data reference |
| rmbestx → pricing | References pricing profiles and windows | UI reference |
| query → pwrpool | References w_pick_pool_type | UI reference |
All Modules → Globals
Every module implicitly depends on:
gw_frame(w_sys_frame) — main MDI frame, menu access checksgncst_app_session(n_cst_app_session) — current user, session infosqlca/cursorTrans(n_cst_transobj) — database transactions
Module Categories
Foundation (no business dependencies)
app_sys— Transaction, login, error handling, sessionapp_util— DB helpers, DW helpers, date/string/numeric utilitiesapp_sec— User security (RBAC)app_cyph— Encryption, licensing, GoldKeyapp_macr— Macro definitions and executionmod_win— Ancestor windows and UI patterns
Core Business (interdependent)
pwrpipe— Pipeline management (loan intake, status)pwrtrade— Trade management (MBS, WL, futures, settlement)pwrpool— Pool management (pooling engine, agency delivery)pricing— Price management (DDE, modified, external)rmbestx— Best execution analysisrmrisk— Risk analysis (hedging, position recon)rmsfas— SFAS hedge effectiveness
Support (mostly independent)
fallout— Fallout analysis (used by rmrisk)bid_pkg— Bid packaging (standalone)query— VMD query builderimport— Data importapp_extf— Data export, XML, DDE functionspwrpclos— Post-closing, shippingdoctrac— Document trackingreports— Report definitionspwrupdt— Database update scriptsarchive— Data archivingsecurity— Site security, licensing