mirror of
https://github.com/Nikolay-Shirokov/cc-1c-skills.git
synced 2026-08-01 09:17:44 +03:00
fix(stub-db-create): warn about guessed register column categories
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.6
parent
c6f499a099
commit
dd81c85366
@@ -1247,6 +1247,9 @@ $propsXml </Properties>$childObjLine
|
|||||||
}
|
}
|
||||||
|
|
||||||
Write-Host "Generated stub configuration with $($typeMap.Count) metadata types"
|
Write-Host "Generated stub configuration with $($typeMap.Count) metadata types"
|
||||||
|
if ($registerColumns.Count -gt 0) {
|
||||||
|
Write-Host "WARNING: Register column categories (Dimension/Resource/Attribute) are guessed. Form field bindings may not survive round-trip through a real database." -ForegroundColor Yellow
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# --- 5. Create infobase ---
|
# --- 5. Create infobase ---
|
||||||
|
|||||||
@@ -1031,6 +1031,8 @@ def main():
|
|||||||
write_bom(os.path.join(obj_dir, f'{obj_name}.xml'), obj_xml)
|
write_bom(os.path.join(obj_dir, f'{obj_name}.xml'), obj_xml)
|
||||||
|
|
||||||
print(f'Generated stub configuration with {len(type_map)} metadata types')
|
print(f'Generated stub configuration with {len(type_map)} metadata types')
|
||||||
|
if register_columns:
|
||||||
|
print('WARNING: Register column categories (Dimension/Resource/Attribute) are guessed. Form field bindings may not survive round-trip through a real database.')
|
||||||
|
|
||||||
# Create infobase
|
# Create infobase
|
||||||
print(f'Creating infobase: {temp_base}')
|
print(f'Creating infobase: {temp_base}')
|
||||||
|
|||||||
Reference in New Issue
Block a user