Blog2019-02-02T00:55:38-06:00

Showing Bible Verse when PowerShell is Opened

January 23rd, 2018|Categories: Bible, PowerShell|

Using the code created in a previous post in our PowerShell profile, we can have PowerShell display a random Bible quote whenever it is opened.StepsDownload PSBible-NET.psm1 from Github.Place the file in %UserProfile%DocumentsWindowsPowerShellModules.  You may need to create the folders if they [...]

Search the Internet for Bible References on a Topic

January 21st, 2018|Categories: Bible, PowerShell|

Scraping a Web Site for Bible ReferencesUsing the function from the prior post, we can leverage PowerShell to download a web page and parse it for us to find references to scripture.$requestResult = Invoke-WebRequest-Uri "https://blogs.lcms.org/2018/loving-your-internet-neighbor"-DisableKeepAlive -UseBasicParsing-ErrorAction SilentlyContinueif ($requestResult.StatusCode -eq200){    Get-BibleReferences$requestResult.Content [...]

Comparing BOMs in AX

December 21st, 2017|Categories: Dynamics AX 2012|

Bills of material in AX 2012 can be effective dated, and this provides the ability to keep prior versions.  Now it has been several years and the question arises- what changed between versions?  There is a built-in way to compare [...]

Unable to Configure Report for PrecisionForms – Record Already Exists

July 3rd, 2017|Categories: Bottomline PrecisionForms, Dynamics AX 2012|

Symptom:Cannot create a record in Delivery destinations (BT_DPA_AOT_ReportDestinations). AOT object ID: 13, 2.The record already exists.Solution:The unique index for the BottomLine tables is RecID.  Run the following SQL statement on your AX database.  Replace DATABASE with the name of your AX database.IF [...]

Export AX Ledger Transactions via SQL

June 2nd, 2017|Categories: Dynamics AX 2012, SQL|

This SQL serves as a starting point to include any number of financial dimensions.SELECT GENERALJOURNALENTRY.SUBLEDGERVOUCHER as Voucher, DIMENSIONATTRIBUTEVALUECOMBINATION.DisplayValue as [Account+Dims], MAINACCOUNT.MainAccountID as [Account], DIMENSIONATTRIBUTELEVELVALUE.DisplayValue as [Dept], GENERALJOURNALACCOUNTENTRY.ACCOUNTINGCURRENCYAMOUNT as AmountMST, GENERALJOURNALACCOUNTENTRY.TRANSACTIONCURRENCYAMOUNT as AmountCur, GENERALJOURNALACCOUNTENTRY.TRANSACTIONCURRENCYCODE as CurrencyCodeFROM DynamicsAX2012.GENERALJOURNALENTRYINNER JOIN DynamicsAX2012.GENERALJOURNALACCOUNTENTRY ON GENERALJOURNALENTRY.RECID [...]

Finding invalid document handling references

May 10th, 2017|Categories: Dynamics AX 2009, Dynamics AX 2012, Dynamics AX 4.x|

static void listDocuHandling_InvalidPaths(Args _args){    DocuRef                 docuRef;    DocuValue               docuValue;    SysOperationProgress    progress;    Common                  common;    ;    setPrefix("Invalid document handling file references");    // Initialize progress indicator    select count(RecId) from docuRef;    progress = new SysOperationProgress(1, true);    progress.setTotal(docuRef.RecId);    progress.setCaption(funcname());    while select docuRef    join docuValue    where docuValue.RecId [...]

Go to Top