Apply Entries Error.
yvonne
Member Posts: 31
Hi All,
I am using version 4.3 with platform SQL 2005. I failed to solve following error msg. All suggestion & advice welcome.
Error Msg: Another user has modified the record for this Vendor Ledger Entry after you retrieved it from database. Enter your changes again in the updated windows, or start the interrupted activity again. Identification fields and Values: entry no:’25008’.
Error prompted while user trying to do apply entry through following path. Vendor Card -> Vendor Ledger Entries -> Function (Apply Entries) -> Set Apply Entries -> Post Application.
Codeunit 12 Gen. Jnl. –Post Line
// Post the application
VendLedgEntry.CALCFIELDS(
Amount,"Amount (LCY)","Remaining Amount","Remaining Amt. (LCY)",
"Original Amount","Original Amt. (LCY)");
TransferVendLedgEntry(CVLedgEntryBuf,VendLedgEntry,TRUE);
ApplyVendLedgEntry(
CVLedgEntryBuf,DtldCVLedgEntryBuf,GenJnlLine,NextTransactionNo,GLSetup."Appln. Rounding Precision");
TransferVendLedgEntry(CVLedgEntryBuf,VendLedgEntry,FALSE);
VendLedgEntry."Applies-to ID":='';
VendLedgEntry.MODIFY;
à Error Msg Prompt after this MODIFY statement.
Please help,
Beginner.
I am using version 4.3 with platform SQL 2005. I failed to solve following error msg. All suggestion & advice welcome.
Error Msg: Another user has modified the record for this Vendor Ledger Entry after you retrieved it from database. Enter your changes again in the updated windows, or start the interrupted activity again. Identification fields and Values: entry no:’25008’.
Error prompted while user trying to do apply entry through following path. Vendor Card -> Vendor Ledger Entries -> Function (Apply Entries) -> Set Apply Entries -> Post Application.
Codeunit 12 Gen. Jnl. –Post Line
// Post the application
VendLedgEntry.CALCFIELDS(
Amount,"Amount (LCY)","Remaining Amount","Remaining Amt. (LCY)",
"Original Amount","Original Amt. (LCY)");
TransferVendLedgEntry(CVLedgEntryBuf,VendLedgEntry,TRUE);
ApplyVendLedgEntry(
CVLedgEntryBuf,DtldCVLedgEntryBuf,GenJnlLine,NextTransactionNo,GLSetup."Appln. Rounding Precision");
TransferVendLedgEntry(CVLedgEntryBuf,VendLedgEntry,FALSE);
VendLedgEntry."Applies-to ID":='';
VendLedgEntry.MODIFY;
à Error Msg Prompt after this MODIFY statement.
Please help,
Beginner.
0
Comments
-
You need to find the point, where the same entry is modified before this MODIFY. You can find it through Client Monitor and Code Coverage in combination with the extended client monitor (see download section or MBS Tools CD).0
-
It is almost two years - but since I have got this error today - here is the fix 8)
Codeunit 227 VendEntry-Apply Posted Entries (first lines)WITH Rec DO BEGIN IF NOT PaymentToleranceMgt.PmtTolVend(Rec) THEN EXIT; GET("Entry No."); //<<<<<====== add this line here !!!!! VendLegdEntry.COPY(Rec);
If you check - you will find that this line is already in CU226 (related to Customers). It has been also corrected in never versions (V5 SP1 for sure - not sure about earlier)
Cheers,
Radek0
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
- 323 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
