PowerShell module for managing Microsoft Dynamics NAV object ID reservations
Command | Synopsis |
---|---|
Get-NAVObjectIDReservation | Retrieves all NAV object ID reservations |
New-NavObjectIDReservation | Creates one or more new NAV object ID reservations |
Remove-NavObjectIDReservation | Removes one or more existing NAV object ID reservations |
Retrieves all NAV object ID reservations
Get-NAVObjectIDReservation -DataFilePath <string> [-Comment <string>] [-UserName <string>] [-ObjectType <ObjectType[]>] [-BeforeLoad <scriptblock>] [-AfterSave <scriptblock>] [<CommonParameters>]
- UncommonSense.Nav.ObjectIDReservations.Reservation
Filters reservations by specified comment text.
Required? false
Position? named
Default value *
Accept pipeline input? false
Accept wildcard characters? false
Filters reservations by specified user name.
Required? false
Position? named
Default value *
Accept pipeline input? false
Accept wildcard characters? false
Filters reservations by specified object type.
Required? false
Position? named
Default value Table, Page, Report, Codeunit, XmlPort, Query, MenuSuite
Accept pipeline input? false
Accept wildcard characters? false
The path to your local reservations data file
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The scriptblock to invoke before loading your local data file
Required? false
Position? named
Default value {}
Accept pipeline input? false
Accept wildcard characters? false
The scriptblock to invoke after saving your local data file
Required? false
Position? named
Default value {}
Accept pipeline input? false
Accept wildcard characters? false
Creates one or more new NAV object ID reservations
New-NavObjectIDReservation [-ObjectType] <ObjectType> [-ObjectID] <int[]> [[-Comment] <string>] -DataFilePath <string> [-Force] [-BeforeLoad <scriptblock>] [-AfterSave <scriptblock>] [<CommonParameters>]
- UncommonSense.Nav.ObjectIDReservations.Reservation
The type of object to reserve
Possible values: Table, Page, Report, Codeunit, XmlPort, Query, MenuSuite
Required? true
Position? 1
Default value Table
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
One or more object IDs to reserve
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
Optional comment for the reservation
Required? false
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
If present, allows overwriting of other users' reservations
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
The path to your local reservations data file
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The scriptblock to invoke before loading your local data file
Required? false
Position? named
Default value {}
Accept pipeline input? false
Accept wildcard characters? false
The scriptblock to invoke after saving your local data file
Required? false
Position? named
Default value {}
Accept pipeline input? false
Accept wildcard characters? false
Removes one or more existing NAV object ID reservations
Remove-NavObjectIDReservation [-ObjectType] <ObjectType> [-ObjectID] <int[]> -DataFilePath <string> [-Force] [-BeforeLoad <scriptblock>] [-AfterSave <scriptblock>] [<CommonParameters>]
The type of the reserved object
Possible values: Table, Page, Report, Codeunit, XmlPort, Query, MenuSuite
Required? true
Position? 1
Default value Table
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
The ID of the reserved object
Required? true
Position? 2
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
If present, allows removal of other users' reservations
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
The path to your local reservations data file
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
The scriptblock to invoke before loading your local data file
Required? false
Position? named
Default value {}
Accept pipeline input? false
Accept wildcard characters? false
The scriptblock to invoke after saving your local data file
Required? false
Position? named
Default value {}
Accept pipeline input? false
Accept wildcard characters? false
Generated 06-03-2018 08:45