Add entity customer numbers and scope APIs via selected company.
Entity gets an optional unique-per-company number with allocate/peek/isNumberFree helpers. Company-scoped store methods no longer take companyId and resolve google_auth.selected_company instead.
This commit is contained in:
@@ -44,6 +44,7 @@ const INTERNAL_FILES = new Set([
|
||||
'ensureDefault.js',
|
||||
'ensureLieferantenGroup.js',
|
||||
'resolveCompanyAccess.js',
|
||||
'resolveSelectedCompanyAccess.js',
|
||||
'resolveCategoryAccess.js',
|
||||
'resolveCustomerGroupAccess.js',
|
||||
'resolveEntityAccess.js',
|
||||
@@ -53,6 +54,9 @@ const INTERNAL_FILES = new Set([
|
||||
'queryCategoryArticles.js',
|
||||
'getCategoryPosterminalIds.js',
|
||||
'nextSku.js',
|
||||
'nextNumber.js',
|
||||
'peekNumber.js',
|
||||
'shape.js',
|
||||
'createStore.js',
|
||||
'index.js',
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user