accounting/wwwroot/open_reseller_provider_accounts.dspy
2026-01-04 16:56:00 +08:00

10 lines
339 B
Plaintext

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=}'