Error message while posting AP invoice from custom dataport
Denis_Petrov
Member Posts: 107
We have created a custom on-line overlay of Navision so remote office could enter HR, Payroll, etc information to be processed on our Native Navision server here. Things have been working fine for the last 2 years. :whistle:
Now we are moving AP module on-line, the final piece - custom AP dataport brings data into Navision. But when trying to post AP invoice I get this error message:
The Journal Line Dimension already exist.
Identification fields and values:
Table ID='38',Journal Template Name='',Journal Batch Name=''Journal Line No.='0',Allocation Line No.='0',Dimension Code='City'
What is the best way to fix the problem?
Thank you all!
Now we are moving AP module on-line, the final piece - custom AP dataport brings data into Navision. But when trying to post AP invoice I get this error message:
The Journal Line Dimension already exist.
Identification fields and values:
Table ID='38',Journal Template Name='',Journal Batch Name=''Journal Line No.='0',Allocation Line No.='0',Dimension Code='City'
What is the best way to fix the problem?
Thank you all!
Best regards,
Denis Petrov.
Denis Petrov.
0
Comments
-
You need to populate the Line No. field with an incrementing set of numbers.
Create a variable, and increment it by 1 for each journal line.
The safest way to get your starting value for the variable is to get the highest line number that currently exists for the table (FINDLAST after setting filters for the Journal Template Name and Journal Batch Name)0 -
Thank you for the reply. The problem is that all line No. are populated in Purchase Header table and dataport entries (appear to) look identical to those entered manually. Moreover, the message seems to be from table 356 - which is not even engaged and has no entrie with Table ID='36'...Best regards,
Denis Petrov.0 -
see if this brings some insight [-o<
http://www.mibuso.com/forum/viewtopic.php?t=260020 -
Dear Savatage
it it nice to hear from you!
Unfortunately changing form #51 property DelayedInsert to Yes did not address the issue, same error message. The invoice does not even have 2 lines to have a conflict it seems!
](*,)Best regards,
Denis Petrov.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
- 611 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 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