Sage 100

 View Only
Expand all | Collapse all

Vi trick. I remember a post about importing quote

Louis Araiza

Louis Araiza06-06-2012 07:32

Robert Wood

Robert Wood06-15-2012 06:25

  • 1.  Vi trick. I remember a post about importing quote

    Posted 06-06-2012 07:15
    Vi trick. I remember a post about importing quotes so it does not import double quotes (""""). Anyone know where that is??


  • 2.  RE: Vi trick. I remember a post about importing quote

    Posted 06-06-2012 07:19
    I usually just open the .csv in WordPad and do a Find-Replace of """" to "" (that's double-quote to single-quote).


  • 3.  RE: Vi trick. I remember a post about importing quote

    Posted 06-06-2012 07:23
    Johnny, Scott Brady at Sage has an import he will send you that does this. Just drop him a note.


  • 4.  RE: Vi trick. I remember a post about importing quote

    Posted 06-06-2012 07:29
    This is from the resellers yahoo in 2008. Probably what BL is referring to. Subject: [sageresellers] Re: Importing Extended Descriptions Here is a great response from my secret sources at Sage. You'll need to use SUB Functions. Modify your source file by replacing all "" with * and replace all , with ^. You can then use the attached sample. The attached import uses SUB functions which will change the * back to "" and change the ^ back to , Note: this import job is for 4.10 and higher. If anyone wants the import job I'll be glad to send it to them.


  • 5.  RE: Vi trick. I remember a post about importing quote

    Posted 06-06-2012 07:32
    Dats It!


  • 6.  RE: Vi trick. I remember a post about importing quote

    Posted 06-06-2012 08:31
    Did you keep a copy of the import as I don't have it?????


  • 7.  RE: Vi trick. I remember a post about importing quote

    Posted 06-06-2012 08:34
    To see the previous SC posting by @EricAnderson, do a search for ""import items/descriptions"" (including the quotes).


  • 8.  RE: Vi trick. I remember a post about importing quote

    Posted 06-06-2012 08:38
    Here are the links that Brett was referring to in case there was interest to read the entire thread. The second one is the original discussion. https://90minds-com.socialcast.com/messages/7108278 https://90minds-com.socialcast.com/messages/6941091


  • 9.  RE: Vi trick. I remember a post about importing quote

    Posted 06-06-2012 08:38
    copy/paste: Here is the formula that Todd posted in case anyone else is curious: SUB(IMP$[3],quo+quo,quo). Dawn's solution was replace the "" in the original file with ^ and the use this formaul in VI: SUB({CI_Item.ItemCode$}, ""^"", CHR(34)


  • 10.  RE: Vi trick. I remember a post about importing quote

    Posted 06-06-2012 09:05
    This is the complete write up in the KB Item extended descriptions with commas cannot be imported from a tab delimited (CSV) file. Use temp variables to create the commas from the source file. Note: Similar steps can be used for quotation marks (""). In the source file, change the commas to asterisks (*). In Sage MAS 90 or 200, expand Visual Integrator and Main. Double-click Import Job Maintenance. Select (or create) the import job for IM.ITEMEXT, and click the Data tab. Add the following fields to the selected fields list (below COMMENT_TEXT): TEMP01: Type = String Operation = String Default value = * (asterisk) TEMP02: Type = String Operation = String Default value = , (comma) TEMP03: Type = String Operation = Replace Field = 3 (Description) Length = 9999 Move the COMMENT_TEXT field to the bottom of the list. Double-click the COMMENT_TEXT field to open Import Field Properties, and make the following changes: Operation = Calculate (from Replace) Calculation = SUB({TEMP03},{TEMP01},{TEMP02}) Run the import job.


  • 11.  RE: Vi trick. I remember a post about importing quote

    Posted 06-06-2012 10:05
    Thanks guys - I remembered something like this. Now off to correcting the items in inventory. Thanks a bunch!


  • 12.  RE: Vi trick. I remember a post about importing quote

    Posted 06-14-2012 21:43
    Well an FYI here - this was 4.4 and I imported data into access, corrected and did an odbc import via - the quotes imported perfectly without having to so any weird calculations or characters. I wonder if csv would be different.


  • 13.  RE: Vi trick. I remember a post about importing quote

    Posted 06-15-2012 03:30
    It's because of the way fields are defined in Access vs CSV.


  • 14.  RE: Vi trick. I remember a post about importing quote

    Posted 06-15-2012 06:12
    Would making the text file a tab delimited vs. a comma delimited make a difference. I've started making my major VI's tab imports and they seem to go smoother.


  • 15.  RE: Vi trick. I remember a post about importing quote

    Posted 06-15-2012 06:25
    I don't think so.