SBX - Search With Button

SBX - Forum Post Title

Navigating SOP Entry modifies invoices automatically?

Microsoft Dynamics GP Forum

BethLott asked a question on 19 Nov 2008 10:59 AM
My Badges

Question Status

Unanswered

We upgraded to GP 10 from GP 6 over the past weekend.  Today we discovered an issue with SOP entry. 

Assume User A has batch 123 that contains several invoices.  User A then clicks on the First Record button in the lower left hand corner (represented by the |< symbol) to go to the first invoice in batch 123.  

At the same time, User B already has batch 122 open with invoices and what happens is that the invoice that User A sees belongs to batch 122, but the screen shows a batch id of 123, automatically changing the batch id for User B's first invoice.  User A immediately knows this is not her invoice and tries to close the window, but is prompted to Save or Delete.  Neither of which is desirable, but Saving is at least the better choice.  I just selected the affected document and reassigned it to the correct batch.  But I don't want to have to do this on a regular basis!

Why don't all the fields change correctly when navigating through all documents?  Why does the batch id field not change if the invoice didn't originate in that batch?

Reply
David Musgrave [MS] responded on 19 Nov 2008 4:44 PM
My Badges

Hi Beth

Do you have any VBA code running that can set default values on the transaction?

If you do, make sure that you add the line Me.Changed = False afterwards to clear the changed flag.

This is usually the cause of issue like this. 

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. 

Reply
BethLott responded on 20 Nov 2008 5:43 AM
My Badges

Yes, I have a line in Window_BeforeOpen that says

If SOPSortBy.Enabled = True Then SOPSortBy.Value = 4

I will try it.

Thanks for the help; your blog has been an essential resource in our upgrade!

ETA: It works!  I can navigate between invoices and the batch numbers stay assigned correctly!  Thanks again!

Reply
David Musgrave [MS] responded on 20 Nov 2008 3:11 PM
My Badges

Excellent news Beth.

I have created a blog post on the topic as you are not the first person to come across this.

David

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. 

Reply

SBX - Two Col Forum

SBX - Migrated JS