Continia Certified: Continia Document Capture Professional User

Microsoft Dynamics 365 Business CentralSince I started working with Microsoft Dynamics 365 Business Central last year, I’ve also been learning some of the add-ons which are commonly used. One of those add-ons is Document Capture from Continia Software.

They seem pretty well organised and have a Continia Learn which is very much along the same lines as Microsoft Learn; you can also do an exam for each of their products which results in a credential which you can register with Credly.

I passed the one for the Document Capture product earlier today:

Certificate confirmation

New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1: Removed Functionality

Microsoft Dynamics 365 Business CentralThis post is part of the New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1 series in which I am taking a look at the new functionality introduced in Microsoft Dynamics 365 Business Central 2023 Wave 1.

When announcing the upcoming releases Microsoft do state that changes may be made up to delivery timelines or projected functionality may not be released (see the Microsot Policy on this subject); this has happened with Release 2023 Wave 1 where a number of features have been removed and additional ones added.

The functionality changes which are no longer listed in the Microsoft documentation are for Release 2023 Wave 1 are:

  1. Company Hub Now Lets Admins Add User-Specific Settings
  2. Optimized Runtime Package Generation For Sharing
  3. Modern Tooltips Are Easy To Read And Understand
  4. Refresh Of Content To Support Modern Tooltip UI

Over the next couple of weeks, I’ll be posting articles on the functionality which has been announced as included in Release 2023 Wave 1.

New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1

New Functionality In Microsoft Dynamics 365 Business Central 2023 Wave 1
Use Business Events To Notify And Trigger External Systems
Get Started With More Sample Power Automate Templates And Power Apps
New Approval Workflow Experience With Power Automate Templates
Support Dynamic Environment And Company In Power Platform Connector
Remove Modification Limits For Triggering Flows
Use Power Automate To Post Adaptive Card Or Link To Business Central Record
Adjust Exchange Rates Easily, Replace The Built-In Batch Job
Use Different General Ledger Accounts For Payables, Receivables
Avoid Document Number Errors When You Post Item Journals
Company Hub Now Lets Admins Add User-Specific Settings
Define Content Of Created Warehouse Documents With Filters
Intercompany Posting Setup Supports More Transaction Types And Streamlines Flows
Preview Item Journals Before Posting
Review General Ledger Accounts Faster
Set Up And Sync Master Data Across Companies
Ship And Receive Non-Inventory Items On Warehouse Documents
Shopify Connector Becomes Extensible
Shopify Connector Becomes Extensible
Synchronize Returns, Refunds From Shopify
Undo Transfer Shipments
Swedish Localization Delivered As Extension
Supporting More Countries And Regions
AL Explorer And AL Home In Visual Studio Code AL Extension
Attach AL Debugger To Active Session Or Next Session
Improved Compiler Resource Handling And Faster Code Analyzers
Optimized Runtime Package Generation For Sharing
Provide Title And Custom Actions To Error Dialogs
Control Database Locking Behaviour
AL-Go For Github – Modern Devops For Partners
ISVs Can Organize A Preview For Their Appsource Apps
Experience Improved App Management Settings
Get An Improved Cloud Migration Status Overview
Include Or Exclude Tables From Cloud Migration
Transfer Environments Between Azure Ad Tenants
Non-Deductible, Partly Deductible Vat Expands Functionality
Audit File Export Eases Saf-T Compliance
Easily Find And Install Payroll Apps From Within Business Central
Modern Tooltips Are Easy To Read And Understand
Refresh Of Content To Support Modern Tooltip UI
Experience Enhanced Adaptive Cards In Teams
Configure Security Controls For Teams Cards
Add Existing Table Fields To Optimize Your Pages
Drag And Drop Files Onto The File Upload Dialog
Access Actions And Navigation Menu Efficiently With Keyboard
Get More Productivity Out Of An Optimized Action Bar On All App Pages
Get Unblocked Using Actionable Error Messages In Select Application Areas
Tailor Action Bar To Fit Your Needs On Document Lines
Copy And Paste Readable Hyperlinks
Removed Functionality
Add More Columns to Pages for Better Insight
Catalog Items Use Standard Number Series, Can Include in Blanket Sales Orders
Demo Tool and Data for Warehouse and Inventory Scenarios
Easier to Create Opening Balances for Item Tracked Inventory
Post multiple transfer orders at the same time
Set Default Dimensions on Locations, Inventory Documents and Journals
Usability Improves for Transfer Order: Select Multiple Items, Mandatory Fields
Usability Improves for Warehouse, Inventory and Tracking Areas
Use Advanced Warehouse Functionality With Minimal Complexity
Use Statistical Accounts to Collect Data for Financial Reports
Save Time With Automatic Account Codes (Sweden and Finland Only)
Country/Regional Expansion – Andorra
Define Regional Settings Per Report Using a Region Property
Extensions That Fail Pre-Upgrade Validation Get More Detailed Error Insights
Delegated Admin’s Job Queue Entries Are Run by User
Manage User Permissions Using Security Groups
Analyze, Group, and Pivot Data on List Pages Using Multiple Tabs
Allow Application and Tenant Databases to Differ in Collation
Business Central server runs on .NET 6
New telemetry events and data
Performance – OData calls are now faster
Improved Alignment of Headers in Statistics Pages

ClassicPress Plugins Available From azurecurve | Development in 2023: BBCode

ClassicPressIn this series of articles, I am going to introduce each of the plugins I have developed for ClassicPress, a hard-fork of WordPress, which was originally created to provide an alternative, yet compatible, CMS without the Gutenberg block editor.

The 4th plugin is BBCode.

Allows users to use standard bbcodes in posts and pages in place of HTML tags.

The following bbcodes can be used:

Bold:
	[b]bold[/b]
Italic:
	[i]italics[/i]
Underline:
	[u]underline[/u]
Center Text:
	[center]centered text[/center]
Strike:
	[strike]strike[/strike]
Quote:
	[quote]quote[/quote]
Color:
	[color=blue]color[/color]
Font size:
	[size=12pt]12pt font size[/size]
	[size=1.2em]1.2em font size[/size]
	[size=12px]12px font size[/size]
Image:
	[img]https://docs.classicpress.net/wp-content/classicpress/logos/icon-gradient-600.png[/img]
	[img=ClassicPress logo]https://docs.classicpress.net/wp-content/classicpress/logos/icon-gradient-600.png[/img]
URL:
	[url]https://www.classicpress.net/[/url]
	[url=https://www.classicpress.net/]ClassicPress[/url]
	[link]https://www.classicpress.net/[/link]
	[link=https://www.classicpress.net/]ClassicPress[/link]
Ordered lists:
	[ol]ordered list[/ol]
Unordered lists:
	[ul]unordered list[/ul]
List items:
	[li]list item[/li]
Table:
	[table][/table]
Table Row:
	[tr][/tr]
Table Header:
	[th][/th]
Table data (cell):
	[td][/td]
Code:
	[code]function azc_bbcode_bold($atts, $content = null){ return "".do_shortcode($content).""; }[/code]

Allows users to use standard bbcodes in posts and pages; Shortcodes in Comments can be used to allow bbcodes in comments and Shortcodes in Widgets can allow them in widgets.

This plugin is multisite compatible.

Continue reading “ClassicPress Plugins Available From azurecurve | Development in 2023: BBCode”

ClassicPress Plugins Available From azurecurve | Development in 2023: Avatars

ClassicPressIn this series of articles, I am going to introduce each of the plugins I have developed for ClassicPress, a hard-fork of WordPress, which was originally created to provide an alternative, yet compatible, CMS without the Gutenberg block editor.

The 3rd plugin is Avatars.

Avatars
Upload a new avatar and set as the default avatar and allow users to upload their own avatar and override the default.

Admin setting allows only use of local avatars; prevents use of Gravatars; if user doesn’t upload their own avatar, a local default is used instead.

This plugin is multisite compatible; each site will need settings to be configured in the admin dashboard.

Continue reading “ClassicPress Plugins Available From azurecurve | Development in 2023: Avatars”

SQL Scripts for Microsoft Dynamics GP: Update Item Engineering File from a Text File

Microsoft Dynamics GPThis script is part of the SQL Scripts for Microsoft Dynamics GP where I will be posted the scripts I wrote against Microsoft Dynamics GP over the 19 years before I stopped working with Dynamics GP.

This script uses BULK INSERT to update values in the IVR10015 table for existing items.

/*
Created by Ian Grieve of azurecurve | Ramblings of an IT Professional (http://www.azurecurve.co.uk) This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0 Int). */
/* CREATE TEMP ERROR TABLE */ CREATE TABLE #Errors ( Error VARCHAR(1000) ,ROW_ID INT IDENTITY ) GO /* CREATE TEMP TABLE FOR DATA */ CREATE TABLE #IVR10015_IMPORT ( ITEMNMBR VARCHAR(30) ,[EFFECTIVEDATE_I] VARCHAR(100) ,[ITEMFULFILLMETHOD] INTEGER ,[ITEMSTATUS_I] INTEGER ,[MAKEBUYCODE_I] INTEGER ,[CALCMRP_I] TINYINT ) GO /* BULK INSERT */ BULK INSERT #IVR10015_IMPORT FROM 'c:\temp\ItemEngineering.txt' WITH (FIELDTERMINATOR = '\t' ,ROWTERMINATOR = '\n' ,FIRSTROW = 2 ) GO /* VALIDATE DATA */ INSERT INTO #Errors (Error) --VALUES ( SELECT 'Item Engineering record does not exist: ' + CAST(IMPORT.ITEMNMBR AS VARCHAR(100)) FROM #IVR10015_IMPORT AS IMPORT LEFT JOIN IVR10015 AS ['Item Engineering File'] --IVR10015 ON ['Item Engineering File'].ITEMNMBR = IMPORT.ITEMNMBR WHERE ['Item Engineering File'].ITEMNMBR IS NULL ) GO /* UPDATE EXISTING DATA IF NO ERRORS */ IF (SELECT COUNT(*) FROM #Errors) = 0 -- UPDATE if Email Details present UPDATE ['Item Engineering File'] SET EFFECTIVEDATE_I = IMPORT.EFFECTIVEDATE_I ,ITEMFULFILLMETHOD = IMPORT.ITEMFULFILLMETHOD ,ITEMSTATUS_I = IMPORT.ITEMSTATUS_I ,MAKEBUYCODE_I = IMPORT.MAKEBUYCODE_I ,CALCMRP_I = IMPORT.CALCMRP_I FROM IVR10015 AS ['Item Engineering File'] --IVR10015 INNER JOIN #IVR10015_IMPORT AS IMPORT ON IMPORT.ITEMNMBR = ['Item Engineering File'].ITEMNMBR GO /* OUTPUT ERRORS */ IF (SELECT COUNT(*) FROM #Errors) > 0 SELECT Error FROM #Errors ORDER BY ROW_ID GO /* DROP TEMP TABLES */ DROP TABLE #IVR10015_IMPORT GO DROP TABLE #Errors GO

Click to show/hide the SQL Scripts for Microsoft Dynamics GP Series Index

SQL Scripts for Microsoft Dynamics GP
Verify PM Batches Exist
Update Accrued Purchases Distribution on History Receipts from Posting Account Setup
Insert Mfg BOMs from Text File
SQL Function To Return Approver
List of Active Fixed Assets
Insert Manufacturing Routings from Text File
Table Function to Split String on Delimiter
List of Open Payables Transactions
Insert Creditor Item Numbers
Return Top Level BOM for Manufacturing Orders
Custom Purchase Order Email Notification to Originator on Workflow Final Approval
list of Open Payables Distributions
Set New Vendor On Hold if EFT Exists
Set New Vendor On Hold if EFT Exists
Payment Run Apply Query
List GL Transactions
Simple RMA Audit
Change Vendor Change Approvals Joins and Fields
Insert National Accounts from CSV
List GL Accounts With Notes
Import Site Bins From CSV
Remove Multicurrency from Sales Transactions
Change Email Notification Assignment
List General Ledger Transactions (Excluding Year End Journals)
List Taxes Linked to GL Accounts
Allow Workflow Originator to be an Approver
Add Joins and Fields to PM Document Approval Notification Emails
Update Accounts and Distributions on Work Status Sales Transactions from Item Card, Tax Details or Posting Account Setup
Upload and Verify Tax Commodity Codes
Delete Corrupt Extended Pricing Data
Assign All Items to All Site Bins
Sales Transactions (Work) Against a Specific Site
Change Web Service URi
SQL View to Return Quantity Available
Verify Tax Detail Assigned to Vendor
Insert Extended Pricing Price Sheet Header
Prefix Companies Names with System Designator
SQL View to Return Category Linked to Segment 3 in COA
Update Site Descriptions From CSV
Copy Workflow from Source to Destination Database
Extract GL Period Balances
Sales by Customer By Year
Purchased Items With Serial Numbers and Linked Sales Transactions
SQL View to Return Purchase Orders
Select All Primary Keys and Generate ALTER Script
Copy Workflow Calendar from Source to Destination Database
SQL Trigger on PO invoice Insert to Change GL posted Date
Sales by Salesperson By Year
Script to Set Transactions as Included on VAT Daybook Return
SQL Script to Return PO Receipts
Insert Extended Pricing Price Sheet UofM Work
View for Payables Transactions Extract
Export Open/History PM Transactions After a Specified Date
Copy Email Messages from a Source to Destination Database
PO Receipt History View
Insert Extended Pricing Price Sheet Assignments
Extract Payables Transactions from All Companies
List Open Purchase Orders
SQL View to Create Division Tree for Management Reporter
Select Chart of Accounts
Activate Horizontal Scroll Bars for All Existing Users
Workflow Assignment Review
Update Item Replenishment Method for Manufacturing
Get Alpha Characters from an Alphanumeric String
Set Vendor On Hold If EFT Details Changed
List Open Purchase Order Lines
SQL View to Create Division, including UDF 3 and 4, Tree for Management Reporter
Delete Orphaned Vendor EFT Details
Sales Invoice Query
Round Extended Pricing Price Sheet Item Value
Get Numeric Characters from an Alphanumeric String
Trigger to Activate Horizontal Scroll Bars for New Users
View to Return List of Payments and Linked Invoices
Select Duplicate Extended Pricing Price Sheet Work Records
RM Aged Debt Report
Select Next Temporary Creditor ID
Select a List of Vendor Addresses
Set Vendor On Hold When Created
Assembly Transaction Quantities Required
Generate Standard Cost Update Macro from Text File Import
Check for Corrupt Extended Pricing Records
Sales Line Items
Compare Ship To Address on Work Sales Trx Against Customer
SQL View to Return PO Commitment Detail
List Bank Accounts with Linked GL Accounts
Validate and Insert/Update Vendor Emails from a Text File
Return Items with Incorrect Quantities
Set Account Categories To User-Defined Field 2
Check Posting Type for Account (Segment 2)/Account Category Combinations
Update Ship To Name on Work Sales Transactions to Match the Customer Name
List Tax Detail Transactions
Select Tax Details and Related G/L Accounts
Update Account Description by Adding 3rd Segment Description
Update Segment Descriptions from Other Database
Return Opening Balance for Period of Supplied Date
Update Min Order Qty and Average Lead Time on Vendor Item From Text File
List of PM Invoices for Vendors with POs
Select Debit, Credit and Net Change for All Accounts in Date Range
Select All Pending Prepayments
Available Stock for All Items
Item Report
Migrate Vendor Emails from Active Docs to Standard Email Fields
Update Mfg Cost Accounts from Mfg Item Class Setup
PO Commitment Detail
Update Inventory Accounts from Item Class
Create Macro to Delete Items
Update Accounts Payable Distribution on Work Status PM Transactions from Posting Account Setup
Update Item Resource Planning on Item Quantity Master from Text File
SQL View to Return List of Posted Vendor Document Numbers
Update Inventory Distribution on Work Status Purchase Orders from the Item Card
Update Item Engineering File from a Text File
List of Exchange Rates

Error Calculating Depreciation in Microsoft Dynamics 365 Business Central

Microsoft Dynamics 365 Business CentralI’ve been doing a lot of work with a client to, amongst other tasks, implement the Fixed Asset module in Microsoft Dynamics 365 Business Central. We ran through the configuration and then started testing that everything worked correctly.

It was all going well until we tried to calculate depreciation when we encountered an error message:

Error when calculating depreciation

Gen. Jnl. Batch Name must have a value in FA Journal Setup: Depreciation Book Code=COMPANY, User ID=. It cannot be zero or empty.

Continue reading “Error Calculating Depreciation in Microsoft Dynamics 365 Business Central”

SQL Scripts for Microsoft Dynamics GP: Update Item Resource Planning on Item Quantity Master from Text File

Microsoft Dynamics GPThis script is part of the SQL Scripts for Microsoft Dynamics GP where I will be posted the scripts I wrote against Microsoft Dynamics GP over the 19 years before I stopped working with Dynamics GP.

This script uses BULK INSERT to update the item resource planning fields on Item Quantity Master (IV00102).

/*
Created by Ian Grieve of azurecurve | Ramblings of an IT Professional (http://www.azurecurve.co.uk) This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0 Int). */
/* CREATE TEMP ERROR TABLE */ CREATE TABLE #Errors ( Error VARCHAR(1000) ,ROW_ID INT IDENTITY ) GO /* CREATE TEMP TABLE FOR DATA */ CREATE TABLE #IV00102_IMPORT ( ITEMNMBR VARCHAR(30) ,SHRINKAGEFACTOR NUMERIC(19,5) -- Shrinkage Factor ,PRCHSNGLDTM NUMERIC(19,5) -- Purchasing Lead Time ,MNFCTRNGFXDLDTM NUMERIC(19,5) -- Manufacturing Fixed Lead Time ,MNFCTRNGVRBLLDTM NUMERIC(19,5) -- Manufacturing Variable Lead Time ) GO /* BULK INSERT */ BULK INSERT #IV00102_IMPORT FROM 'c:\temp\ItemResourcePlanning.txt' WITH (FIELDTERMINATOR = '\t' ,ROWTERMINATOR = '\n' ,FIRSTROW = 2 ) GO /* VALIDATE DATA */ INSERT INTO #Errors (Error) --VALUES ( SELECT 'Item does not exist: ' + CAST(IMPORT.ITEMNMBR AS VARCHAR(100)) FROM #IV00102_IMPORT AS IMPORT LEFT JOIN IV00101 AS ['Item Master'] --Item Master (IV00101) ON ['Item Master'].ITEMNMBR = IMPORT.ITEMNMBR WHERE ['Item Master'].ITEMNMBR IS NULL ) GO INSERT INTO #Errors (Error) --VALUES ( SELECT 'Item/Site assignment does not exist: ' + CAST(IMPORT.ITEMNMBR AS VARCHAR(100)) + ' / MAIN' FROM #IV00102_IMPORT AS IMPORT LEFT JOIN IV00102 AS ['Item Quantity Master '] --Item Quantity Master (IV00102) ON ['Item Quantity Master '].ITEMNMBR = IMPORT.ITEMNMBR AND ['Item Quantity Master '].LOCNCODE = 'MAIN' WHERE ['Item Quantity Master '].ITEMNMBR IS NULL ) GO /* UPDATE EXISTING DATA IF NO ERRORS */ IF (SELECT COUNT(*) FROM #Errors) = 0 -- UPDATE if Email Details present UPDATE ['Item Quantity Master '] SET SHRINKAGEFACTOR = IMPORT.SHRINKAGEFACTOR ,PRCHSNGLDTM = IMPORT.PRCHSNGLDTM ,MNFCTRNGFXDLDTM = IMPORT.MNFCTRNGFXDLDTM ,MNFCTRNGVRBLLDTM = IMPORT.MNFCTRNGVRBLLDTM ,INCLDDINPLNNNG = 2 ,REPLENISHMENTMETHOD = 2 ,INCLDMRPMOVEIN = 2 ,INCLDMRPMOVEOUT = 2 ,INCLDMRPCANCEL = 2 FROM IV00102 AS ['Item Quantity Master '] --Item Quantity Master (IV00102) INNER JOIN #IV00102_IMPORT AS IMPORT ON IMPORT.ITEMNMBR = ['Item Quantity Master '].ITEMNMBR WHERE ['Item Quantity Master '].LOCNCODE = 'MAIN' GO /* OUTPUT ERRORS */ IF (SELECT COUNT(*) FROM #Errors) > 0 SELECT Error FROM #Errors ORDER BY ROW_ID GO /* DROP TEMP TABLES */ DROP TABLE #IV00102_IMPORT GO DROP TABLE #Errors GO

Click to show/hide the SQL Scripts for Microsoft Dynamics GP Series Index

SQL Scripts for Microsoft Dynamics GP
Verify PM Batches Exist
Update Accrued Purchases Distribution on History Receipts from Posting Account Setup
Insert Mfg BOMs from Text File
SQL Function To Return Approver
List of Active Fixed Assets
Insert Manufacturing Routings from Text File
Table Function to Split String on Delimiter
List of Open Payables Transactions
Insert Creditor Item Numbers
Return Top Level BOM for Manufacturing Orders
Custom Purchase Order Email Notification to Originator on Workflow Final Approval
list of Open Payables Distributions
Set New Vendor On Hold if EFT Exists
Set New Vendor On Hold if EFT Exists
Payment Run Apply Query
List GL Transactions
Simple RMA Audit
Change Vendor Change Approvals Joins and Fields
Insert National Accounts from CSV
List GL Accounts With Notes
Import Site Bins From CSV
Remove Multicurrency from Sales Transactions
Change Email Notification Assignment
List General Ledger Transactions (Excluding Year End Journals)
List Taxes Linked to GL Accounts
Allow Workflow Originator to be an Approver
Add Joins and Fields to PM Document Approval Notification Emails
Update Accounts and Distributions on Work Status Sales Transactions from Item Card, Tax Details or Posting Account Setup
Upload and Verify Tax Commodity Codes
Delete Corrupt Extended Pricing Data
Assign All Items to All Site Bins
Sales Transactions (Work) Against a Specific Site
Change Web Service URi
SQL View to Return Quantity Available
Verify Tax Detail Assigned to Vendor
Insert Extended Pricing Price Sheet Header
Prefix Companies Names with System Designator
SQL View to Return Category Linked to Segment 3 in COA
Update Site Descriptions From CSV
Copy Workflow from Source to Destination Database
Extract GL Period Balances
Sales by Customer By Year
Purchased Items With Serial Numbers and Linked Sales Transactions
SQL View to Return Purchase Orders
Select All Primary Keys and Generate ALTER Script
Copy Workflow Calendar from Source to Destination Database
SQL Trigger on PO invoice Insert to Change GL posted Date
Sales by Salesperson By Year
Script to Set Transactions as Included on VAT Daybook Return
SQL Script to Return PO Receipts
Insert Extended Pricing Price Sheet UofM Work
View for Payables Transactions Extract
Export Open/History PM Transactions After a Specified Date
Copy Email Messages from a Source to Destination Database
PO Receipt History View
Insert Extended Pricing Price Sheet Assignments
Extract Payables Transactions from All Companies
List Open Purchase Orders
SQL View to Create Division Tree for Management Reporter
Select Chart of Accounts
Activate Horizontal Scroll Bars for All Existing Users
Workflow Assignment Review
Update Item Replenishment Method for Manufacturing
Get Alpha Characters from an Alphanumeric String
Set Vendor On Hold If EFT Details Changed
List Open Purchase Order Lines
SQL View to Create Division, including UDF 3 and 4, Tree for Management Reporter
Delete Orphaned Vendor EFT Details
Sales Invoice Query
Round Extended Pricing Price Sheet Item Value
Get Numeric Characters from an Alphanumeric String
Trigger to Activate Horizontal Scroll Bars for New Users
View to Return List of Payments and Linked Invoices
Select Duplicate Extended Pricing Price Sheet Work Records
RM Aged Debt Report
Select Next Temporary Creditor ID
Select a List of Vendor Addresses
Set Vendor On Hold When Created
Assembly Transaction Quantities Required
Generate Standard Cost Update Macro from Text File Import
Check for Corrupt Extended Pricing Records
Sales Line Items
Compare Ship To Address on Work Sales Trx Against Customer
SQL View to Return PO Commitment Detail
List Bank Accounts with Linked GL Accounts
Validate and Insert/Update Vendor Emails from a Text File
Return Items with Incorrect Quantities
Set Account Categories To User-Defined Field 2
Check Posting Type for Account (Segment 2)/Account Category Combinations
Update Ship To Name on Work Sales Transactions to Match the Customer Name
List Tax Detail Transactions
Select Tax Details and Related G/L Accounts
Update Account Description by Adding 3rd Segment Description
Update Segment Descriptions from Other Database
Return Opening Balance for Period of Supplied Date
Update Min Order Qty and Average Lead Time on Vendor Item From Text File
List of PM Invoices for Vendors with POs
Select Debit, Credit and Net Change for All Accounts in Date Range
Select All Pending Prepayments
Available Stock for All Items
Item Report
Migrate Vendor Emails from Active Docs to Standard Email Fields
Update Mfg Cost Accounts from Mfg Item Class Setup
PO Commitment Detail
Update Inventory Accounts from Item Class
Create Macro to Delete Items
Update Accounts Payable Distribution on Work Status PM Transactions from Posting Account Setup
Update Item Resource Planning on Item Quantity Master from Text File
SQL View to Return List of Posted Vendor Document Numbers
Update Inventory Distribution on Work Status Purchase Orders from the Item Card
Update Item Engineering File from a Text File
List of Exchange Rates

Microsoft Edge Extension: Don’t Close Window With Last Tab

Useful ApplicationsWhile I mainly use the Vivaldi browser I do use Microsoft Edge for work related browsing. However, there is one feature of Vivaldi which I really miss when using Edge and that is when closing the last tab in the browser you’re returned to the speed dial.

With Edge when you closet the last tab, the entire browser closes; something which I always forget and am constantly annoyed by. I am so used to Vivaldi’s behaviour that I always close the last tab and then browse to the next page that I want. With Edge this means I end up closing the browser and having to relaunch it again.

I finally got around to looking for a solution to this and found the Don’t Close Window With Last Tab extension in the Microsoft Edge Add-ons store.

Download page for the add-on

Once installed the add-on keeps the browser open when the last tab is closed; it does handle additional windows by allowing the close of the last tab in the addtional window to close that window, which I”m happy enough to accept as I don;t often use multiple windows.

I’m posting this article mainly so that I can easily find the add-on on the multiple PCs I use so that I have a standard experience when browsing.

SQL Scripts for Microsoft Dynamics GP: Create Macro to Delete Items

Microsoft Dynamics GPThis script is part of the SQL Scripts for Microsoft Dynamics GP where I will be posted the scripts I wrote against Microsoft Dynamics GP over the 19 years before I stopped working with Dynamics GP.

This script selects all items from Item Master (IV00101) and creates a Dynamics GP macro which can be played back to delete the items. It was created as some items were imported during an implementation and then it was decided to change how items were configured requiring all current items to be removed; there was no transactional data entered so a clean delete was still possible.

/*
Created by Ian Grieve of azurecurve | Ramblings of an IT Professional (http://www.azurecurve.co.uk) This code is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0 Int). */
SELECT '# DEXVERSION=18.00.0028.000 2 2 CheckActiveWin dictionary ''default'' form ''IV_Item_Maintenance'' window ''IV_Item_Maintenance'' TypeTo field ''Item Number'' , ''' + RTRIM(ITEMNMBR) + ''' MoveTo field Inactive # ''FALSE'' MoveTo field ''Delete Button'' ClickHit field ''Delete Button'' # Are you sure you want to delete this record? NewActiveWin dictionary ''default'' form DiaLog window DiaLog ClickHit field OK NewActiveWin dictionary ''default'' form ''IV_Item_Maintenance'' window ''IV_Item_Maintenance'' ' FROM IV00101

Click to show/hide the SQL Scripts for Microsoft Dynamics GP Series Index

SQL Scripts for Microsoft Dynamics GP
Verify PM Batches Exist
Update Accrued Purchases Distribution on History Receipts from Posting Account Setup
Insert Mfg BOMs from Text File
SQL Function To Return Approver
List of Active Fixed Assets
Insert Manufacturing Routings from Text File
Table Function to Split String on Delimiter
List of Open Payables Transactions
Insert Creditor Item Numbers
Return Top Level BOM for Manufacturing Orders
Custom Purchase Order Email Notification to Originator on Workflow Final Approval
list of Open Payables Distributions
Set New Vendor On Hold if EFT Exists
Set New Vendor On Hold if EFT Exists
Payment Run Apply Query
List GL Transactions
Simple RMA Audit
Change Vendor Change Approvals Joins and Fields
Insert National Accounts from CSV
List GL Accounts With Notes
Import Site Bins From CSV
Remove Multicurrency from Sales Transactions
Change Email Notification Assignment
List General Ledger Transactions (Excluding Year End Journals)
List Taxes Linked to GL Accounts
Allow Workflow Originator to be an Approver
Add Joins and Fields to PM Document Approval Notification Emails
Update Accounts and Distributions on Work Status Sales Transactions from Item Card, Tax Details or Posting Account Setup
Upload and Verify Tax Commodity Codes
Delete Corrupt Extended Pricing Data
Assign All Items to All Site Bins
Sales Transactions (Work) Against a Specific Site
Change Web Service URi
SQL View to Return Quantity Available
Verify Tax Detail Assigned to Vendor
Insert Extended Pricing Price Sheet Header
Prefix Companies Names with System Designator
SQL View to Return Category Linked to Segment 3 in COA
Update Site Descriptions From CSV
Copy Workflow from Source to Destination Database
Extract GL Period Balances
Sales by Customer By Year
Purchased Items With Serial Numbers and Linked Sales Transactions
SQL View to Return Purchase Orders
Select All Primary Keys and Generate ALTER Script
Copy Workflow Calendar from Source to Destination Database
SQL Trigger on PO invoice Insert to Change GL posted Date
Sales by Salesperson By Year
Script to Set Transactions as Included on VAT Daybook Return
SQL Script to Return PO Receipts
Insert Extended Pricing Price Sheet UofM Work
View for Payables Transactions Extract
Export Open/History PM Transactions After a Specified Date
Copy Email Messages from a Source to Destination Database
PO Receipt History View
Insert Extended Pricing Price Sheet Assignments
Extract Payables Transactions from All Companies
List Open Purchase Orders
SQL View to Create Division Tree for Management Reporter
Select Chart of Accounts
Activate Horizontal Scroll Bars for All Existing Users
Workflow Assignment Review
Update Item Replenishment Method for Manufacturing
Get Alpha Characters from an Alphanumeric String
Set Vendor On Hold If EFT Details Changed
List Open Purchase Order Lines
SQL View to Create Division, including UDF 3 and 4, Tree for Management Reporter
Delete Orphaned Vendor EFT Details
Sales Invoice Query
Round Extended Pricing Price Sheet Item Value
Get Numeric Characters from an Alphanumeric String
Trigger to Activate Horizontal Scroll Bars for New Users
View to Return List of Payments and Linked Invoices
Select Duplicate Extended Pricing Price Sheet Work Records
RM Aged Debt Report
Select Next Temporary Creditor ID
Select a List of Vendor Addresses
Set Vendor On Hold When Created
Assembly Transaction Quantities Required
Generate Standard Cost Update Macro from Text File Import
Check for Corrupt Extended Pricing Records
Sales Line Items
Compare Ship To Address on Work Sales Trx Against Customer
SQL View to Return PO Commitment Detail
List Bank Accounts with Linked GL Accounts
Validate and Insert/Update Vendor Emails from a Text File
Return Items with Incorrect Quantities
Set Account Categories To User-Defined Field 2
Check Posting Type for Account (Segment 2)/Account Category Combinations
Update Ship To Name on Work Sales Transactions to Match the Customer Name
List Tax Detail Transactions
Select Tax Details and Related G/L Accounts
Update Account Description by Adding 3rd Segment Description
Update Segment Descriptions from Other Database
Return Opening Balance for Period of Supplied Date
Update Min Order Qty and Average Lead Time on Vendor Item From Text File
List of PM Invoices for Vendors with POs
Select Debit, Credit and Net Change for All Accounts in Date Range
Select All Pending Prepayments
Available Stock for All Items
Item Report
Migrate Vendor Emails from Active Docs to Standard Email Fields
Update Mfg Cost Accounts from Mfg Item Class Setup
PO Commitment Detail
Update Inventory Accounts from Item Class
Create Macro to Delete Items
Update Accounts Payable Distribution on Work Status PM Transactions from Posting Account Setup
Update Item Resource Planning on Item Quantity Master from Text File
SQL View to Return List of Posted Vendor Document Numbers
Update Inventory Distribution on Work Status Purchase Orders from the Item Card
Update Item Engineering File from a Text File
List of Exchange Rates

FA Posting Type Must Not Be “” on a General Journal in Microsoft Dynamics 365 Business Central

Microsoft Dynamics 365 Business CentralAs I announced in September, I am now working with Microsoft Dynamics 365 Business Central. I have been climbing a steep learning curve, but I think I’ve got a handle on most of the basics now.

It is sometimes the little things which are catching me out. I was doing some testing with fixed assets and ran into an issue trying to enter an asset acquisition:

Error posting a general journal for asset acquisition

FA Posting Type Must Not Be on a Gen. Journal Line

Continue reading “FA Posting Type Must Not Be “” on a General Journal in Microsoft Dynamics 365 Business Central”