DataBase - PO Approvals

Asked By AndreaSmile
08-Dec-08 08:16 AM
We have a customer who says their PO's keep unapproving randomly - when using
the PO Approval feature of POP.

We have instructed the customer to print the PO's via Print PO Documents and
not go back into the PO after it is approved.

The user has approval authority upto $1,000; and they can approve PO's for
any user up to their authority. All other users seem to have unlimited
approval authority.

Any ideas? They can not recreate at will and can't really outline a pattern
of when the po's unapprove.
VBA
(1)
David.Musgrave
(1)
Database
(1)
Dexterity
(1)
Approvals
(1)
Blogster
(1)
Musgrave
(1)
Mariano
(1)
  MarianoGome replied...
08-Dec-08 12:31 PM
using the PO Approval feature of POP [sic].<

This is not standard POP functionality, rather a part of PO Enhancements.


Yes, plenty of ideas:

1) start by downloading and installing the new Support Debugging Tool at
your customer site. You can obtain the tool at
https://mbs.microsoft.com/partnersource/support/selfsupport/productreleases/supportdebuggingtool10.htm?printpage=false.
I have been using it successfully to troubleshoot these so called random acts
of computing gods.

Also, take a look at my "First look" article at
http://dynamicsgpblogster.blogspot.com/2008/08/first-look-at-support-debugging-tool.html to get a general idea about the product.

Support Debugging Tool will also help you with the next 2 steps.

2) Setup a DEXSQL.LOG file that will allow you to identify the database
calls when the approval process is executed. This way you can identify what
stored procedures are being executed and what values are being passed to them
vs. what's get written into the tables.

3) Create a Dexterity script log (SCRIPT.LOG) file that will allow you to
see what GP scripts are being called and what values are being passed to them
when the approval process is being done, or when the window is opened again.

4) Check for VBA customizations that may be working against the behaviour of
the window. I have found improperly implemented VBA code that significantly
changes the behaviour of a particular field and "confuses" GP as to how the
field should be treated and what value should be stored.

5) Checked for table triggers that may be working against data storage
normal behaviour. You should be able to identify these with a DEXSQL.LOG or a
SQL Profiler.

6) Create a SQL Profiler, preferrably a stored proc replay that will allow
you to copy the execution into a Query window and replay the statements
leading up to the problem.

I guess you have plenty to go by, so let's stop here.

Best regards,
--
MG.-
Mariano Gomez, MIS, MCP, PMP
Maximum Global Business, LLC
http://www.maximumglobalbusiness.com
The Dynamics GP Blogster at http://dynamicsgpblogster.blogspot.com
  AndreaSmile replied...
08-Dec-08 12:52 PM
Thanks Mariano - i am familiar with all these tools - however if the customer
cannot recreate at will - the logs and dexsql really will not help too mcuh.
  dmusgra replied...
08-Dec-08 10:50 PM
------=_NextPart_0001_A3915E75
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hi Andrea

Just a little clarification about what the Support Debugging Tool can do for you.

If you turn on Advanced Mode, you can add a Trigger onto the save event of a table and check for when a value (or values) on that
table has changed.  While the trigger is waiting to fire, the system will be logging all the Dexterity and SQL activity.

So once it triggers and the data has changed, you will have the logs leading up to the change and can identify the cause.

I created the Support Debugging Tool after a support case ran for a year on a situation we could see in the data but not replicate.
Once installed and setup, it found the issue in a few days.

Please see this post for more information:

http://blogs.msdn.com/developingfordynamicsgp/archive/2008/07/30/support-debugging-tool-for-microsoft-dynamics-gp.aspx

I believe you could set up the Support Debugging Tools, Automatic Debugger Mode to watch for your PO's unapproving and find
the cause.

David Musgrave [MSFT]
Escalation Engineer - Microsoft Dynamics GP
Microsoft Dynamics Support - Asia Pacific

Microsoft Dynamics (formerly Microsoft Business Solutions)
http://www.microsoft.com/Dynamics

mailto:David.Musgrave@online.microsoft.com
http://blogs.msdn.com/DevelopingForDynamicsGP

Any views contained within are my personal views and not necessarily Microsoft policy.
This posting is provided "AS IS" with no warranties, and confers no rights.

------=_NextPart_0001_A3915E75
Content-Type: text/x-rtf
Content-Transfer-Encoding: 7bit

{\rtf1\ansi\ansicpg1252\deff0\deflang3081{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\f0\fs20 Hi Andrea
\par
\par Just a little clarification about what the Support Debugging Tool can do for you.
\par
\par If you turn on Advanced Mode, you can add a Trigger onto the save event of a table and check for when a value (or values) on that table has changed.  While the trigger is waiting to fire, the system will be logging all the Dexterity and SQL activity.
\par
\par So once it triggers and the data has changed, you will have the logs leading up to the change and can identify the cause.
\par
\par I created the Support Debugging Tool after a support case ran for a year on a situation we could see in the data but not replicate.  Once installed and setup, it found the issue in a few days.
\par
\par Please see this post for more information:
\par
\par http://blogs.msdn.com/developingfordynamicsgp/archive/2008/07/30/support-debugging-tool-for-microsoft-dynamics-gp.aspx
\par
\par I believe you could set up the Support Debugging Tools, Automatic Debugger Mode to watch for your PO's unapproving and find the cause.
\par
\par David Musgrave [MSFT]
\par Escalation Engineer - Microsoft Dynamics GP
\par Microsoft Dynamics Support - Asia Pacific
\par
\par Microsoft Dynamics (formerly Microsoft Business Solutions)
\par http://www.microsoft.com/Dynamics
\par
\par mailto:David.Musgrave@online.microsoft.com
\par http://blogs.msdn.com/DevelopingForDynamicsGP
\par
\par Any views contained within are my personal views and not necessarily Microsoft policy.
\par This posting is provided "AS IS" with no warranties, and confers no rights.
\par
\par }
------=_NextPart_0001_A3915E75--
Create New Account
help
Library Database DataBase Firstly, I am not sure if Library database is the correct term. I am talking about Dbs to which you set a reference in the VBA references section. Secondly apologies for sort-of reposting this question, but I drew blanks last time. Now assuming I have several referenced (library?) databases in my main database, how do I get the names of all the forms in all the Dbs? CodeProject AllForms.Count gives me the correct number of forms if I am in that referenced database. What I think I need is a method of looping through all the different CodeProject names in the main database, but there is not a sort of CodeProjects parent object. Or somehow moving the focus And, No, there is not any parent object for all the code projects. Because each database only knows about its own objects (or documents), you have to use a procedure in
Might be outgrowing Access but daunted by SQL Server DataBase I am close to completing the consolidation of various small Access databases and a couple of Excel spreadsheets that my little company uses (5 staff) into an all encompasing Access database and I was planning on splitting the database when I was finished to allow simaltaneous use of it by staff on our small to me that I am going to need to give staff access to this new database from remote locations (outside of our office network). Two staff members are regularly overseas, one been playing around with trying to link tables from remote locations (ftp path of the database on our Network Storage Device at the office) and needless to say - that do not It all started when I came across a very encouraging article on keeping your Access database as your front end application and linking to SQL Server database tables. I am finding it MUCH more complicated than I had hoped. Can anyone suggest a simpler way of achieving remote access to my database? I have at my disposal a Network Storage Device which has remote access capabilities (this
Data Macros Don't Work With Linked Tables??? DataBase I have an Access 2010 ACCDB with an AfterInsert data macro on a table. Works Outlook (1) I should note that I am using the data macro to call a VBA function (by setting a local macro variable to the result of the function call). So this is not for the web, I did not see a problem with calling a VBA function (and various places I have seen online mentioned workarounds for calling VBA from a data macro). But, again, while it works when I insert a record in note? In it I added that I was using the AfterInsert macro to run some VBA code (by setting a local variable to the result of a function call). Maybe that maybe that is the problem Yes, in this case, you need a copy of the VBA in the front end. (for testing you can place it in both - since if you happen to open the back end table directly, then the VBA code is ALSO required since the front end might not even be open and the talk to that may be sitting on your computer. So when the trigger fires, that VBA code will be required. So, the VBA needs to exist in the front end if
Access 2010 with Sharepoint 2010 DataBase I found this article http: / / sharepointproconnections.com / Articles / tabid / 149 / nodeid / 1996 / SharePoint-Wish-List is called a develpment stack. that means you need to adopt a web server, a database server, and probably choose a particular browser scripting language on top of this. And, some compatible code for your web forms (java, or vbs Script for example). And, for that database server to hold your data you have to train yourself in using SQL server, mySQL, oracle or whatever particular database server you like. You have to learn the tools on how to create the tables better be sure that the target web hosting service will have and support that particular database system + features. (believe it or not, in some cases the web hosting provider will support a particular database system, but some database features may not necessarily be supported). So the database server thing can be quite a big investment of your time to learn the database
VBA vs Macros DataBase Let me preface this by saying it is a sincere question. I am not interested Using Access 2010 I note that help tells us to use macros in preference to VBA for web apps and for greater security. Also a VBA to macro converter is provided but not the other way around. Why so down on VBA? Once upon a time it was considered that for any serious development VBA was preferred to macros because it had a) error trapping (where untrapped errors would crash runtime installation of Access) and b) greater power and flexibility. Are these two advantages of VBA over macros still true with 2010? Other than for web apps (which I am not doing) should I change to macros or stick with VBA? When I took up Access I learned VBA and only did macros when it was