- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Is there a way to stop double VI imports?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-08-2010 05:50 PM
Once in a blue moon one of our customer service representatives accidentally imports a VI import file twice doubling the number items on several orders. Is there a way to stop an order number from importing twice?
Re: Is there a way to stop double VI imports?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-08-2010 09:31 PM
Welcome to the Sage Community! Yes there is. With Perform Logic. Most of us either delete the source file or rename the source file. On the old Sage Talk there were a number of examples posted.
--------------------------------------------------------------------------
You have enemies? Good. That means you've stood up for something in your life.
Re: Is there a way to stop double VI imports?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-09-2010 05:59 AM
Forgot to ask what version of MAS you are on. Plus there is also perform logic that checks to see if the sales order already exist in history.
--------------------------------------------------------------------------
You have enemies? Good. That means you've stood up for something in your life.
Re: Is there a way to stop double VI imports?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-09-2010 09:53 AM
We are currently on MAS 200 version 4.05. I hope to get us to 4.4 soon.
Re: Is there a way to stop double VI imports?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-09-2010 10:11 AM
Do you happen to have the commands that were listed on that page?
Re: Is there a way to stop double VI imports?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-11-2010 02:27 PM
**Crickets**
Re: Is there a way to stop double VI imports?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
05-12-2010 06:03 AM
SETERR EXIT_LOGIC
F$=STP(VI2_IMPORT_FILE$)
F=POS("."=F$,-1)
IF F<>0 THEN F$=F$(1,F-1)
F$=F$+".csv" ! OR WHATEVER EXTENSION YOU WANT
ERASE F$,ERR=*NEXT ! DELETES THE FILE IF IT ALREADY EXIST
CH=FFN(VI2_IMPORT_FILE$)
IF CH<>-1 THEN CLOSE (CH)
RENAME VI2_IMPORT_FILE$,F$
EXIT_LOGIC:
EXIT
Place in the VI folder
--------------------------------------------------------------------------
You have enemies? Good. That means you've stood up for something in your life.


