Skip to content

New supported object types, Preparation for BC2021w1, "Fill Object ID Gaps" setting on Assignable Ranges, New API method for consuming by VS Code Extension, many smaller enhancements

Compare
Choose a tag to compare
@TKapitan TKapitan released this 13 Mar 14:33
· 93 commits to master since this release

Major changes

  • New setting on assignalbe range: "Fill Object ID Gaps"
    • If set to true, the system tries to find gaps in assigned objects. If there is a gap in corresponsing ID range, system use the ID for newly created object.
    • It is possible to set it on the header and lines, the header is for default ranges and the setting in lines is only for the range specified in the line.
    • The process may have impact on performance of assigning new objects (however, should still be ok).
  • New supported object types: PageCustomization, Profile
  • New supported runtime: Business Central 2021 W1
    • New supported object types: ReportExtension, PermissionSet, PermissionSetExtension, Entitlement
  • New API method for consuming by VS Code Extension
    • Microsoft.NAV.createObjectFieldOrValue for obtaining field IDs in "ALRM: New object extension field or value" command. Replace old command Microsoft.NAV.createObjectLine that is not called anymore).
    • Microsoft.NAV.createObjectFieldOrValueWithOwnID for registering existing fields (with already assigned field/value ID) using "ALRM: Synchronize (beta)" command.
    • Microsoft.NAV.createObjectWithOwnID for registering existing objects (with already assigned object ID) using "ALRM: Synchronize (beta)" command.

Other changes

  • CreateObjectLine API replaced by CreateObjectFieldOrValue, Obsolete('Replaced by CreateObjectFieldOrValue(), will be removed 2021/04.')
  • Created By field in Extension Object Line table (filled by user who create the record directly in BC or username provided using APIs method).
  • ID to Extension Object Line record is assigned OnInsert (previously OnValidate of Extension Object ID).
  • Some error messages were improved to be more readable/usable.
  • It is possible to register also field/value names through UI or API (no additional functionality or validation)
  • Code maintenance