DataPerCompany Property
Version: Available or changed with runtime version 1.0.
Sets a value that indicates whether the table data applies to all companies in the database or only the current company.
Applies to
- Table
Property Value
True if data is available only to this company; otherwise, false. The default value is true.
Syntax
DataPerCompany = true;
Remarks
Whether the value of this property can be changed is dependent on if the table holds data or not.
The value true
means that data is available to the current company only, this is the default value. You can only set this property to true
if the table is empty in all companies, or if the table holds data in only one company. You cannot change the value to false
if there is data in the table in any of the companies.
Note
Switching to DataPerCompany requires you to synchronize the extension that includes the table, and any extension that extends the table, by using the ForceSync mode. Otherwise, you'll get an error like: sync-navapp : Table '' ::The table '' changed datapercompany from 'False' to 'True' and that is not allowed.
. For more information about syncing an extension, see Sync-NavApp cmdlet.
See Also
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應