Added 'Duplicate EntityName' & 'Duplicate EntitySetName' error.
These will occur if multiple Page Object with PageType = 'API' the following fields in common:
APIPublisher
APIGroup
APIVersion
And either (or both) of the following fields:
EntityName
EntitySetName
To disable this you can use the ALTB.DisbleAPIEntityWarnings setting in the workspace settings (this is not available in folder settings).
Command "ALTB: Renumber AL objects" now renumbers Extension objects:
If 80.000 is not in the number ranges the same renumber method is used as for non-extension objects
This is also the case number of the extended object isn't found:
Format for finding extended object number is <extension object type> <number> extends <extended object> //<extended object id>
e.g. pageextension 80000 "EXTItemList" extends "Item List" //31 -> 31 is extended object number
If 80.000 is in the number ranges the following formula is used: 80000 + (<extended object id> % 10000)
Added command "ALTB: Copy fields to related tables" which copies all fields to all related tables (skips fields that are already on the related tables).
Added setting "ALTB.AdditionalRelatedObjects". With this setting you can add additional related objects using the following format:
[
{ // For adding tableextensions
folder: 'SalesHeader', // subfolder of src where to place the objects when using "ALTB: Start Project: Create Related Tables"
objectType: this.AlObjectTypes.tableExtension,
objects: [ // these tables wil be considered related
{ id: 36, name: 'Sales Header' },
{ id: 110, name: 'Sales Shipment Header' },
{ id: 112, name: 'Sales Invoice Header' },
{ id: 114, name: 'Sales Cr.Memo Header' },
{ id: 5107, name: 'Sales Header Archive' },
{ id: 6660, name: 'Return Receipt Header' }
]
},
...
{ // For adding pageextensions
table: 'Contact', // source table of pageextension
folder: 'Contact', // subfolder of src where to place the objects when using "ALTB: Start Project: Create Related Tables"
objectType: this.AlObjectTypes.pageExtension,
objects: [ // pages for the source table
{ id: 5050, name: 'Contact Card' },
{ id: 5052, name: 'Contact List' }
]
},
...
]
Added 'Duplicate EntityName' & 'Duplicate EntitySetName' error. These will occur if multiple Page Object with PageType = 'API' the following fields in common:
And either (or both) of the following fields:
To disable this you can use the ALTB.DisbleAPIEntityWarnings setting in the workspace settings (this is not available in folder settings).
Command "ALTB: Renumber AL objects" now renumbers Extension objects:
<extension object type> <number> extends <extended object> //<extended object id>
pageextension 80000 "EXTItemList" extends "Item List" //31
-> 31 is extended object number80000 + (<extended object id> % 10000)
Added command "ALTB: Copy fields to related tables" which copies all fields to all related tables (skips fields that are already on the related tables).
Added setting "ALTB.AdditionalRelatedObjects". With this setting you can add additional related objects using the following format: