accounting/wwwroot/open_customer_accounts.dspy
2026-01-04 16:55:47 +08:00

9 lines
266 B
Plaintext

debug(f'{params_kw=}')
dbname = get_module_dbname('accounting')
orgid = await get_userorgid()
db = DBPools()
async with db.sqlorContext(dbname) as sor:
await openCustomerAccounts(sor, '0', orgid)
return f'{orgid} customer accounts opened'
return f'{db.e_except=}'