Codunit 5763 Whse.-Post Shipmen- end of transaction (COMMIT)

randrews
Member Posts: 135
Codunit 5763 have version NAVW13.60.00.26 in our database.
Code() function have strings:
One user run "Post Inventory Cost to G/L" and block another, who post shipment.
When user is unblocked - there are some lines of shipment are posted, another not.
Somebody knows the reason? May be HotFix in Codunit 5763?
Code() function have strings:
REPEAT SETRANGE("Source Type","Source Type"); SETRANGE("Source Subtype","Source Subtype"); SETRANGE("Source No.","Source No."); InitSourceDocumentHeader; InitSourceDocumentLines; COMMIT; CounterSourceDocTotal := CounterSourceDocTotal + 1; PostSourceDocument(WhseShptLine); SETRANGE("Source Type"); SETRANGE("Source Subtype"); SETRANGE("Source No."); UNTIL NEXT = 0;
One user run "Post Inventory Cost to G/L" and block another, who post shipment.
When user is unblocked - there are some lines of shipment are posted, another not.
Somebody knows the reason? May be HotFix in Codunit 5763?
0
Comments
-
In addition:
The shipment are posted invisibly to user.
He push some button, system create Transit Transfer, process all studies of postings etc, and show only Put-aways to user.
But this process ends in posting shipment sometimes (when user was blocked).
Navision in SQL Database.0 -
My solution would be comment out the commit. I've done it in several instances.
The second solution would be lock gl table.
Do you have expected cost on?0 -
We have expected cost on.
I will try your way.
Thanks0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions