- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Trouble with VI jobs in v4.5
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-23-2012 02:44 PM
We are in test mode of upgrading a client from v4.3 to v4.5. We have VI jobs in v4.3 to import AR customers, SO Invoices, and AR Cash Receipts. The Customers and Cash Receipts are importing fine, with only one adjustment necessary. But when we tried to import SO Invoices, we get the error "L record AddLine() failed. Missing or invalid header." None of the invoices will import.
The source file is the same for all 3 of these import types. The header and detail are on the same line.
I just figured out the issue while I was typing this, so I'll share in case anyone else runs into it. On the Record tab, there is now a Header Record that needs to be added, and it should be above any of the Line record definitions (like RegularItem). Once I added that, it worked.
Hollie
Solved! Go to Solution.
Re: Trouble with VI jobs in v4.5
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-24-2012 05:41 AM
I spoke too soon. Now the header files are fine, but it's not recognizing the lines, so when I try to import, it says each header has no lines and won't be imported.
I have a RegularItem defined on the Records tab, but it's the same definition as the Header record, because they are both the same kind of line (first character of second field = "S"). I also have some Skip Records defined. I'm going to play around with the order of these record definitions, but if anyone has other ideas, I'd love to hear them.
Hollie
Hollie
Re: Trouble with VI jobs in v4.5
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-25-2012 11:42 AM
I removed the header and regular item records on the Records tab and now it is importing correctly.
Hollie


