AUGForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Excel Talk
    • Blog
    • Forums
  • Courses
  • Consulting
  • Login
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

  • Overview
  • Member List
  • All-Stars
  • Stats
  • Recent Posts
  • Help
Forums
AUG Forums
Everything Else
Importing a pipe de...
 
Notifications
Clear all

In order to allow me to focus on Consulting (click here) and Courses (click here), I continue to review all posts here in the Forums, but, in general, I'm only personally responding to posts that I mark as #AcumaticaTnT (click here). For Questions (click here), others may respond, or you can post over at Community.Acumatica.com (click here).
Sincerely,
Tim Rodman

Questions Importing a pipe delimited txt file

    Last Post
RSS

JohnFothergill
Posts: 10
 JohnFothergill    ★★ All-Star ★★
Topic starter
June 30, 2022 8:16 pm
(@johnfothergill)
6-20 Posts
Joined: 2 years ago

I am trying to build an import scenario where the import file is a .txt file that is pipe-delimited with no header row.

I have build a data provider using a .CSV provider type with a filename with a .txt extension and a default delimiter of |.  Note that I used a .CSV file first to populate the schema fields - I have used this method successfully to create a .txt export scenario / file so I expect it should work for import.

I have created an import scenario but when I upload a file and try to prepare the import, I get no data found and an error saying Sequence Contains no Elements.

Has anybody managed to build an import scenario like this?  I am constrained by the ability of the source system in terms of the file format.

Once I have got past this hurdle, I still have to figure out how to update a Shipment with both lot and package data - but that may be for another post.

Thanks in Advance...   John

1 Reply
Royce Lithgo
Posts: 510
 Royce Lithgo    ★★ All-Star ★★
July 3, 2022 9:02 pm
(@roycelithgo)
Over 200 Posts
Joined: 2 years ago

I think lack of header record is your issue - it's required AFAIK. 

You can add a header record with a command script and possibly replace the pipes with commas if needed. Do this before running the import.

https://stackoverflow.com/questions/42482508/replacing-characters-in-a-text-file-from-windows-batch-file

Reply
Tim Rodman liked
  All forum topics
  Previous Topic
Next Topic  
  Forum Statistics
11 Forums
2,145 Topics
9,532 Posts
4 Online
1,679 Members

Latest Post: Want to create a Generic Inquiry to manage files that are attached to sales orders Our newest member: Lynn Slottke Recent Posts Unread Posts

Forum Icons: Forum contains no unread posts Forum contains unread posts

Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2022 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×