Txt2AL

 Below Command Execute In BC14 Development ShellBase Object Export From BC14Export-NAVApplicationObject  -DatabaseName DemoDB14-IN -Path 'D:\BFPL\Bikano\SourceBase\Base.txt' -DatabaseServer localhost -ExportToNewSyntax -Filter 'Modified=Yes'Export-NAVApplicationObject  -DatabaseName DemoDB14-IN -Path 'D:\BFPL\Bikano\SourceBase\Base.txt' -DatabaseServer localhost -ExportToNewSyntax -Filter 'Type=Page;Id=5740'Customized...
Continue Reading...

Recording Business Central NavContainerHelper benchmarks

 $StartTime = $(get-date)    Try { $output = "Started: " + $StartTime Write-Output $output $containerName = 'bc1' $password = 'P@ssw0rd' $securePassword = ConvertTo-SecureString -String $password -AsPlainText -Force $credential = New-Object pscredential 'admin', $securePassword $auth = 'UserPassword' $artifactUrl = Get-BcArtifactUrl -type 'Sandbox' -version '' -country...
Continue Reading...

Basic Business Central Docker Commands That I Use

 Open Powershell / Powershell ISE on HOST machine using Run As Administrator   NOTE: When referring to a Container ID or Image ID, you can use the first few characters of the ID if they are unique--you do not have to always use the full ID. Check NavContainerHelper Version Get-InstalledModule NavContainerHelper Fresh Install of NavContainerHelper Install-module...
Continue Reading...

Automatically Update BcContainerHelper - Improved Script

  #v1.0 - March 27, 2021# $server = $env:COMPUTERNAME #Define date values $simpleDate = Get-Date -Format "M/d/yy" $dateTime = Get-Date -Format "M/d/yy HH:mm" $fileDateTime = Get-Date -Format "yyyy-MM-dd HHmm" #Define the module name $moduleName = 'BcContainerHelper' $body = "" $message = "" $updated = $false #Specify file location for activity transcript log file $transcriptFile = "D:\BCPowerShell\Logs\" + $fileDateTime...
Continue Reading...