Thursday, June 16, 2016
~internal~ Windows have no place in security
I had a bright idea once and thought I could use Modifier to move all of the fields off of the window. That worked fine, except it wasn't available to select in the Alternate/Modified Forms and Reports window (such a catchy name). I read a GPUG forum post from Jeff Martin that said you could include the Setup Checklist window in a VBA project, so I set out to see if I could get it to work with VBA. Sure enough, you can cause the window to open invisibly, but that doesn't really solve the problem. The reason for this post is to publish a tidbit revealed to us by David Musgrave of Winthrop Development. He said that "part of the issue with the checklists window is that the one window is used for all checklists from all series". I did not know that. Another mystery solved. Thank you David.
Live the dream!
Leslie
Monday, June 13, 2016
Welcome to Conexus SG Harry Lee
Can you believe it?! Harry Lee, Redbeard himself, a fellow Microsoft MVP, has joined the fine people at the consulting firm of Conexus SG in Dallas, TX. I didn’t recognize him without his hat, and he didn’t recognize me without my cape, but know for sure that Conexus SG now employees one of the finest Dynamics GP consultants on the planet.
If you are in the Dallas, TX area and need help with Dynamics GP, be sure to check with Conexus SG. Of course, you should check with me first.
Live the dream!
Leslie
Tuesday, May 24, 2016
Macros and Scrolling Windows
I did a session on GP Macros today at the Amplify conference in Anaheim. Questions came up regarding scrolling windows that I did not have time to cover in the short 1-hour session. I'm posting this example as an aid to understanding how scrolling windows work. The macro language will only deal with the number of rows that are visible in the scrolling window. When you open the SOP Entry window there are 8 lines visible in the scrolling window. When you add information to the scrolling window you need to include the command ScrollByLine down scrollwin 'Line_Scroll' at the bottom of the 8th line. Every line after line 8 is still considered line 8 because there are still only 8 lines visible. Below is a partial example macro of what it looks like to add more than 8 items to the SOP Entry scrolling window:
CheckActiveWin dictionary 'default' form 'SOP_Entry' window 'SOP_Entry'
ClickHit field 'SOP Type' item 4 # 'Invoice'
MoveTo field 'Document ID'
MoveTo field 'SOP Number'
MoveTo field 'Customer Number'
TypeTo field 'Customer Number' , 'AARONFIT0001'
MoveTo field 'Customer Name'
MoveTo field 'Primary Shipto Address Code'
MoveTo field 'Document Date'
MoveTo field 'Batch Number'
TypeTo field 'Batch Number' , 'AUG31'
MoveTo field 'Location Code'
MoveTo field 'Customer PO Number'
MoveTo field 'Currency ID'
TransLinePrepare scrollwin 'Line_Scroll'
#
MoveTo line 1 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 1 scrollwin 'Line_Scroll' field 'Item Number' , '128 SDRAM'
MoveTo line 1 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 1 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 1 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
#
MoveTo line 2 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 2 scrollwin 'Line_Scroll' field 'Item Number' , '1-A3261A'
MoveTo line 2 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 2 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 2 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
#
MoveTo line 3 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 3 scrollwin 'Line_Scroll' field 'Item Number' , '128 SDRAM'
MoveTo line 3 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 3 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 3 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
#
MoveTo line 4 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 4 scrollwin 'Line_Scroll' field 'Item Number' , '128 SDRAM'
MoveTo line 4 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 4 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 4 scrollwin 'Line_Scroll' field '(L) Extended Price'
#
TransLinePrepare scrollwin 'Line_Scroll'
MoveTo line 5 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 5 scrollwin 'Line_Scroll' field 'Item Number' , '1-A3261A'
MoveTo line 5 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 5 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 5 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
#
MoveTo line 6 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 6 scrollwin 'Line_Scroll' field 'Item Number' , '128 SDRAM'
MoveTo line 6 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 6 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 6 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
#
MoveTo line 7 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 7 scrollwin 'Line_Scroll' field 'Item Number' , '1-A3261A'
MoveTo line 7 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 7 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 7 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
#
MoveTo line 8 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 8 scrollwin 'Line_Scroll' field 'Item Number' , '128 SDRAM'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
ScrollByLine down scrollwin 'Line_Scroll'
#
MoveTo line 8 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 8 scrollwin 'Line_Scroll' field 'Item Number' , '1-A3261A'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
ScrollByLine down scrollwin 'Line_Scroll'
#
MoveTo line 8 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 8 scrollwin 'Line_Scroll' field 'Item Number' , '128 SDRAM'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
ScrollByLine down scrollwin 'Line_Scroll'
#
MoveTo line 8 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 8 scrollwin 'Line_Scroll' field 'Item Number' , '1-A3261A'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
ScrollByLine down scrollwin 'Line_Scroll'
#
MoveTo line 8 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 8 scrollwin 'Line_Scroll' field 'Item Number' , '128 SDRAM'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
ScrollByLine down scrollwin 'Line_Scroll'
#
MoveTo line 8 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 8 scrollwin 'Line_Scroll' field 'Item Number' , '1-A3261A'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
ScrollByLine down scrollwin 'Line_Scroll'
#
MoveTo line 8 scrollwin 'Line_Scroll' field 'Item Number'
TypeTo line 8 scrollwin 'Line_Scroll' field 'Item Number' , '128 SDRAM'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Dropship' # 'FALSE'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Unit Price'
MoveTo line 8 scrollwin 'Line_Scroll' field '(L) Extended Price'
TransLinePrepare scrollwin 'Line_Scroll'
ScrollByLine down scrollwin 'Line_Scroll'
#
MoveTo line 8 scrollwin 'Line_Scroll' field 'Item Number'
etc., etc., etc.,
I hope this helps someone struggling with scrolling windows.
Kind regards,
Leslie
Wednesday, May 18, 2016
Insert or Delete Lines in Advanced Financial Analysis
Thanks Frank!
Until next post,
Leslie
Friday, May 13, 2016
National Accounts Step Children
Here’s the scenario. Astor Suites has Aaron Fitz as it’s child. Astor Suites sent Fabrikam a check that was used to pay one of Aaron’s invoices. The transaction was recorded and posted using the National Accounts feature in the Cash Receipts window. As with so many relationships, Aaron Fitz fell out of favor with Astor Suites and Aaron Fitz ran away and joined up with Adam Park Resort. Now we want to change Aaron Fitz’s National Account to reflect Adam Park Resort as the parent. We also want to remove Aaron Fitz from the National Account of Astor Suites.
If you simply go into the National Accounts screen and attempt to remove Aaron Fitz from Astor Suites, you cannot. You are greeted with the error message ‘You can’t remove this child customer ID. Apply records exist between the parent customer ID and this child customer ID.’
Here’s how Steve told us we can make the change. I ran through this example and it worked! Be aware, however, that those previously posted parent/child transactions are no longer properly represented in your transaction history. The financial information is OK, but there is no longer a trail back to the previous parent. Here’s Steve’s process:
- Create a new Customer with the correct National Account and all the same attributes as the existing Customer. (including the name and address information)
- Use PSTL Customer Combiner to move transactions to the new Customer.
- Delete the old Customer now that it has no transactions. (this will happen automatically)
- Use PSTL Customer Modifier to change the Customer Number of the new Customer to be the same as the old Customer.
http://bit.ly/1NtJx3f
http://bit.ly/1slC1ya
Thanks everyone!
Until next time - Leslie Vail
Friday, April 1, 2016
The Corrector by Reporting Central
From the folks who brought us The Closer, we now have The Corrector. I spent some time this morning with Gianmarco Salzano gsalzano@reporting-central.com and Clark A. Patterson cpatterson@reporting-central.com looking at a new product called The Corrector. This new product is very nice, and worth a look if you find yourself needing to correct distributions often. It makes correcting posted AP transactions easy while providing an audit trail for the change.
Let’s say you post some AP transactions, but later realize they were distributed to incorrect GL accounts. With The Corrector, you can simply click on the Correct button and adjust the distribution to point it to the correct account. The correcting journal entry is automatically created and linked to the original transaction.
I thought this made the process of correcting a distribution seamless and provided an audit trail as to what was done and why it was done. It was so much easier than trying to figure out what correcting entry went with which transaction (we’ve all been there at one time or another). It’s a small piece of functionality that makes correcting posting transactions much easier. It doesn’t change the original transaction, it provides a means for you to easily correct the distributions using a correcting journal entry that is linked to the original entry. I liked it.
The price was good and it was very easy to use. Take a look at http://reporting-central.com/the-corrector-for-ap-distribution/.
Kind regards,
Leslie
Friday, February 26, 2016
What?! Referential Integrity Checked on a Clear Data Table.

You can't clear data in the parent table RM Customer MSTR until you have cleared data in the child table RM National Accounts Master.
Wow! I’d never seen that before. It does delete all of the customers with no ‘child’ companies, but any customers with children are left intact.
Until next time,
Leslie Vail
Tuesday, March 17, 2015
Upgrade from GP 2010 to GP 2013 R2
Question: How do you upgrade from GP 2010 build 2390 to GP 2013 R2
Answer: The documentation from Microsoft that delineates the upgrade path from GP 2010 to GP 2013 R2 is missing the current build of GP 2010 (as of 3/16/2015). The document from Microsoft can be found here: https://mbs.microsoft.com/partnersource/northamerica/support/hot-topics/HOT_TOPIC_MDGP2013Upgrade#UpgradePaths.
The line missing is how to upgrade to GP 2013 R2 from 11.00.2390. The answer is that you have to upgrade to 12.00.1826. The build numbers for both GP 2010 and GP 2013 R2 are achieved after installing the January 2015 Hotfix. Thanks go out to Paul Degneau, at Standard Process www.Standardprocess.com, for suggesting this to me.
Enjoy!
Leslie
Monday, March 2, 2015
Values for SY01402 - System User Defaults
syDefaultType | Definition |
---|---|
1 | SCBARAUTOHIDE |
2 | SCBARWHICHSIDE |
3 | SCBARWIDTH |
4 | SCBARICONSIZE |
5 | SCBARAUTOOPEN |
6 | UNDERLINED_PROMPTS |
7 | COLORSCHEME |
8 | BACKGROUND |
9 | TOOLBARBUTTONS |
10 | MESSENGER |
13 | REMINDERS |
14 | MAPPOINT |
15 | FIELDSECURITY |
16 | COMMISSIONS |
17 | VENDORLISTSORT |
18 | VENDORLISTINACTIVECB |
19 | CUSTLISTSORT |
20 | CUSTLISTINACTIVECB |
21 | ITEMLISTSORT |
22 | ITEMLISTINACTIVECB |
23 | SOPITEMMISSINGCB |
24 | POPITEMMISSINGCB |
25 | EMPLISTSORT |
26 | EMPLISTINACTIVECB |
30 | AUTOCOMPLETE |
31 | PRINTONEPOPERADDRESS |
40 | HRVETSNAICSNUMBER |
41 | LISTWINDOWSIZE |
42 | NAVBAR_BIGBTNCOUNT |
43 | SOPMANAGESOPTYPE |
45 | CPRCONVERSION |
46 | SQLREPORTING_TARGETLOC |
47 | SQLREPORTING_RPTMGRLOC |
48 | SQMOPT |
49 | SHAREPOINTSERVERURL |
50 | LOCKEDTOOLBARS |
51 | REGKEY |
52 | HOMEPAGEMETRIC |
53 | HOMEPAGEREMINDERS |
54 | HOMEPAGEOUTLOOK |
68 | MFG_MODULE_ENABLED |
69 | REMINDERSCUES |
70 | REMEMBEREDCOMPANY |
71 | REMEMBERUSERENABLED |
72 | SHOWALLMETRICS |
80 | RPTTEMPLATES_ENABLED |
82 | RPTTEMPLATES_ALLOWSTDORTEMPLATE |
83 | POSITIONCONTROL |
84 | FACTBOX_ROTATIONFREQUENCY |
85 | FACTBOX_IMAGESIZE |
90 | ISSHAREPOINTONLINE |
91 | EMAIL_SERVER_TYPE |
92 | EMAIL_PROTECT_WITH_PASSWORD |
93 | EMAIL_PASSWORD_RADIO |
94 | EMAIL_PROTECT_PASSWORD |
95 | PHONEHOME |
96 | SLAHWINDOW |
97 | WEBCLIENTSQLLOGIN |
1493 | SMARTLIST |
22001 | MBS_DEXPROFILE |
22002 | MBS_SQL_LOG |
Leslie
Thursday, February 19, 2015
How to disable "Checking for newer builds" message in Rockton software products
Given the well-deserved popularity of Rockton Software’s (http://www.rocktonsoftware.com/) products, such as ‘SmartFill’ and ‘The Dynamics GP Toolbox’, it has come to my attention that it checks for newer builds each time you sign in. Kind of like the ‘Welcome to Dynamics’ trill from years ago, this can get annoying. Fortunately, Rockton has addressed this issue and published the following KB article to address it.
Jim Moore, at Wesco Valve and Manufacturing Company (www.sswesco.com) was kind enough to send me the article below:
Issue:
Disabling the "Checking for newer builds..." message. Note: This setting is user-specific.
Option 1.
To disable this feature, go through the following steps:
- Click on the Help icon in the upper-right corner of GP.
- Select Rockton Software Support at the bottom of the list.
- On the menu, click Settings >> Rockton Software Preferences.*
- Under the User-specific settings section, bring up the individual user for whom you want to change the setting.
- Unmark the Enable check for newer builds at the login for each user that doesn’t want to have that process run.
Note: These settings are stored in a table in the DYNAMICS database, so you don’t need to do this at each workstation.
*Step 3, the path may vary. It may be Rockton Software Support | Preferences | Rockton Global Settings.
Note: All users will be marked by default but the check for newer builds will only appear for PowerUsers and users assigned to the Administrator role for Rockton Software products within Security. If you use Auditor, then it is based on those users you marked as Admins. in the Auditor System Settings window.
Option 2.
To do a mass update on the table that the information is stored in, you can run the following script in SQL Management Studio. You can then view what the values are for that particular setting in the RS_Global_Setting_Value column (1 = Enabled and 0 = Disabled)**. Be sure to have a backup made prior to running the script.
USE DYNAMICS
UPDATE RSIGLOBL SET RS_Global_Setting_Value = 0 WHERE RS_Global_Setting_Key = 'EnableNewerBuildCheck'
More Information:
When you install any Rockton product after turning this off, you will receive a prompt at the end of the install to re-enable the setting if it has been disabled.
**It is recommended that you leave at least one person enabled, so that they are notified when a new build is available.
Thursday, February 12, 2015
Reshuffling your Account Structure
Setting the stage
Let’s take Fabrikam, Inc. (Fabrikam) as our example company – everybody knows good ole’ Fabrikam. You need to change the account format from its current format to a new format. The old and new formats are shown in the table below:Old format | New format |
Division – Account – Department XXX – XXXX - XX | Company – Department – Division – Account X-XX-XXX-XXXX |
2. Move the Division segment to the third segment
3. Move the Department segment to the second segment
4. Move the main Account segment to the end.
Looks like a piece of cake. However, wait, you cannot add a segment to the front, you can only add one to the end. Another complication is that you cannot rearrange existing segments. Obviously, the plan needs to change. With that in mind, you take a different approach. You decide to change the lengths of the existing segments, add a new four-character segment to the end and then import the accounts back in with the configuration you want. Here is your new plan: 1. Shrink the first segment to one character from three characters.
2. Shrink the second segment from four characters to two characters.
3. Expand the third segment from two characters to three characters.
4. Add a four-character segment to the end.
5. Rearrange the numbers so that the account segments hold the correct values.
6. Import the accounts back in.
7. Re-label the segments.
Unfortunately, you cannot get past the first step. The system will not allow you to shrink the length of a segment. What to do?
Solving the problem
What follows is a step-by-step solution for changing your account structure. This is a complete list of the steps that are explained below: Step 1 – change to an Interim Account formatStep 2 – launch Excel and set it up to accept your current accounts
Step 3 – retrieve your current accounts from GL00105
Step 4 – select the returned data
Step 5 – copy the returned data
Step 6 – paste the data into Excel
Step 7 – prepare your ‘after’ columns
Step 8 – build your ‘after’ accounts
Step 9 – prepare your Excel spreadsheet to create the PSTL source
Step 10 – create the import file
Step 11 – open the PSTL tool
Step 12 – perform the import
Step 13 – confirm the structure of the new account numbers
Step 14 – commit the conversion
Step 15 – shrink the format
Step 16 – recreate the account index table (GL00105)
Step 17 – check your Inventory Setup and Site ID windows
Step 18 – final step – Reconcile
Step 1 – change the existing Account format Administration | Setup | Company | Account format
Beginning Format | Length | Interim Format | Length |
1 – Department | 3 | 1 – Department | 3 |
2 – Account | 4 | 2 – Account | 4 |
3 – Division | 2 | 3 – Division | 3 |
4 – Segment4 | 4 |
, actnumbr_1
, actnumbr_2
, actnumbr_3
, actnumbr_4
, actnumst
FROM gl00105
Step 4 – select the returned data Click in the upper left-hand corner of the results to select the entire contents. Your result set should look substantially similar to this:
, actnumbr_2
, actnumbr_3
, actnumbr_4
, omnesa_1
, omnesa_2
, omnesa_3
, omnesa_4
FROM tachange
The results of my query looked like this:
Enjoying the resolution
As you lean back and admire your work, pick up a tall one and bask in the glow of doing something when ‘they said it couldn’t be done’ Enjoy LeslieTuesday, February 10, 2015
Modifier Quick Tip for Fixed Assets - Don’t check that box!
This came up recently on the forum. A user had modified the ‘Asset User Data’ window. The window previewed perfectly in Modifier, the Modified/Alternate Forms and Reports ID was correctly set, and there was even a period before the window title on the window. However, the window still looked the same as it did when before the modification. What’s going on here?
What’s going on has to do with your choices in the Company Setup window for Fixed Assets. One of the Option items is a checkbox for ‘User Data Auto Format’. If this box is checked, any Modifier changes you make are overridden by the system, and the window displays as it did before it was modified.
The moral of this story is - if you want to modify the Asset User Data window, be sure to uncheck the ‘User Data Auto Format’ checkbox.
Enjoy!
Leslie