Picking with Lot No. - Invalid Commit ?
HalMdy
Member Posts: 429
Hi !
I will try to explain the problem :
I create a picking document for an Item with Lot or Serial No. from a Sales Line. On the SalesLine, there is a missing dimension. When I try to post the picking, the system gives me an error message concerning the missing dimension -> OK . BUT, the reservation line on the serial number generates by the post of the pick remains.
If you look at CU7324, you see a COMMIT instruction just before the SalesPost procedure. My remaining reservation entry is "saved" by this COMMIT.
Do you have any idea of the reason of this COMMIT instruction and what are the risks if I suppress it ?
Thx for help !!
I will try to explain the problem :
I create a picking document for an Item with Lot or Serial No. from a Sales Line. On the SalesLine, there is a missing dimension. When I try to post the picking, the system gives me an error message concerning the missing dimension -> OK . BUT, the reservation line on the serial number generates by the post of the pick remains.
If you look at CU7324, you see a COMMIT instruction just before the SalesPost procedure. My remaining reservation entry is "saved" by this COMMIT.
Do you have any idea of the reason of this COMMIT instruction and what are the risks if I suppress it ?
Thx for help !!
0
Comments
-
There are certain places in code where this function is called before the form is opened, So you will get the runmodal Error.
I would put a condition in there so it does not commint in certain scenerios.0 -
I try without the COMMIT and all SEEMS to be OK, but ... then, why this instruction is there ? My opinion is : nobody could answer, expect the guy who wrote the code ! Where are you, my friend ?
0 -
I guess you don't believe what I said. You'll just have to wait till you get the runmodal error in other area of the application. You could get lucky and not see depending on your setup. Goodluck.0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
