diff --git a/wwwroot/open_reseller_provider_accounts.dspy b/wwwroot/open_reseller_provider_accounts.dspy new file mode 100644 index 0000000..8450cae --- /dev/null +++ b/wwwroot/open_reseller_provider_accounts.dspy @@ -0,0 +1,9 @@ +debug(f'{params_kw=}') +dbname = get_module_dbname('accounting') +assert params_kw.providerid +assert params_kw.resellerid +db = DBPools() +async with db.sqlorContext(dbname) as sor: + await openRetailRelationshipAccounts(sor, '0', params_kw.providerid, params_kw.resellerid) + return f'{orgid} reseller accounts opened' +return f'{db.e_except=}'