Welcome, Guest. Please Login.
05/25/25 at 13:34:37
News:
Home Help Search Login


Pages: 1
Send Topic Print
EDI :  DE-P-B (Read 1202 times)
RPCAdmin
Active Member
*****


Please save me from
the Users!!!!!!!

Posts: 521
Gender: male
EDI :  DE-P-B
04/05/07 at 08:45:02
 
Allen or someone else - hopefully a simple one...
 
When importing an EDI order, on the ED-B screen, after it imports the DBASO.IN file, it asks "Do you want to clear the DBASO.IN file?  If you hit yes, the DBASO.IN file stays in the directory (it is not deleted - it would be great if it did get deleted).  Would it be possible to make this work?  It would eliminate the need to manually delete this file before each new import, and simplify our EDI process immensely.
 
Thanks!!
Back to top
 
 

Mike Nessen
Sr. Engineer/IT Manager/Anything else I need to be
EVO-Erp Build (always the latest) Client/Server
Pervasive 2000i on NT4 Server 15 users
Email 272531373   IP Logged
kevind
Active Member
*****


I was more than
willing to
"pony up",
how b'out U?

Posts: 634
Gender: male
Re: EDI :  DE-P-B
Reply #1 - 04/05/07 at 10:36:21
 
Make sure that SD-Q (Is Tech Support Configuration) has the option  'Remove EDI SO.IN file' is set to 'Y'.
This option is in the  'System Mgr' group button at the bottom of the SD-Q Screen.
Back to top
 
 

Kevin Damke
Spectronics Corporation
ISTECH 2004.1 7/26/13 SP1 - 20 user
Evo-ERP Build 7/25/13 T7 -7i R6 - 3 user
(Prev version was 2004.1 10/24/12)
(All Patches Installed as of 7/26/13)
Pervasive 2000i SP4 - Crystal Reports V10
Email WWW   IP Logged
RPCAdmin
Active Member
*****


Please save me from
the Users!!!!!!!

Posts: 521
Gender: male
Re: EDI :  DE-P-B
Reply #2 - 04/10/07 at 11:53:46
 
HuhI have that setting at Y and it still doesn't work.  The DBASO.in file stays there even when you tell it to clear it.  The only thing I can think of is that I changed the default directory that DBA looks into for the DBASO.in file.  I may play with that a bit before I flatly say that it doesn't work!!
Back to top
 
 

Mike Nessen
Sr. Engineer/IT Manager/Anything else I need to be
EVO-Erp Build (always the latest) Client/Server
Pervasive 2000i on NT4 Server 15 users
Email 272531373   IP Logged
RPCAdmin
Active Member
*****


Please save me from
the Users!!!!!!!

Posts: 521
Gender: male
Re: EDI :  DE-P-B
Reply #3 - 04/10/07 at 12:00:27
 
Nope - tried a variety of directories and no matter what setting I use, the DBASO.IN file never goes away (is erased?)  Unless the software means that it is taking the data out??  I haven't checked that, but I would rather just have the file be erased.
Back to top
 
 

Mike Nessen
Sr. Engineer/IT Manager/Anything else I need to be
EVO-Erp Build (always the latest) Client/Server
Pervasive 2000i on NT4 Server 15 users
Email 272531373   IP Logged
NovaZyg
Administrator
*****


When all else
fails.. Read the
instructions.

Posts: 789
Gender: male
Re: EDI :  DE-P-B
Reply #4 - 04/10/07 at 12:27:09
 
I'll take a look..
Back to top
 
 

Allen Landry
Evo~ERP

EvoERP and DBA Classic always Beta's of the Latest versions.

WWW   IP Logged
NovaZyg
Administrator
*****


When all else
fails.. Read the
instructions.

Posts: 789
Gender: male
Re: EDI :  DE-P-B
Reply #5 - 04/10/07 at 12:42:39
 
I looked..  
 
  msg "You have just imported " + trim(trim(str(head_cntr),'T'),'L') * " EDI SO headers, " + trim(trim(str(line_cntr),'T'),'L') * " EDI Line Items, and "+ trim(trim(str(note_cntr),'T'),'L') * " EDI Notes from "+trim(bkedi.mst.path,'T') * file_name * "  Importing now complete.  Proceed to view/edit in ED-C. " windows 'I'
 
  if ists.cfg.csout $ "YA"
    if ists.cfg.csout = "Y"
     if .n. zask("Do you want to clear the DBASO.IN file?",.t.)
       goto exit
     endif
    endif
    close @in_file
    if delf(path*'dbaso.in') = .f.
     msg "Error deleting "+path*'DBASO.IN' windows 'i'
    endif
  endif
 
 
The code looks fine to me... Are you getting the question "Do you want to clear the DBASO.IN file?" when running DE-P-B? is your menu calling ISEDIB.RUN?
 
Back to top
 
 

Allen Landry
Evo~ERP

EvoERP and DBA Classic always Beta's of the Latest versions.

WWW   IP Logged
kkmfg
Senior Member
****


Ghost of the code

Posts: 375
Gender: male
Re: EDI :  DE-P-B
Reply #6 - 04/10/07 at 19:39:45
 
Not to whip a dead horse into mush but.. since you did include some source code there...
 
You do realize that if we all had the source code we could debug ourselves, right?
 
For instance, in this case personal debugging would probably best go down this path:
 
First, reduce the source you posted to just:
 
msg "You have just imported " + trim(trim(str(head_cntr),'T'),'L') * " EDI SO headers, " + trim(trim(str(line_cntr),'T'),'L') * " EDI Line Items, and "+ trim(trim(str(note_cntr),'T'),'L') * " EDI Notes from "+trim(bkedi.mst.path,'T') * file_name * "  Importing now complete.  Proceed to view/edit in ED-C. " windows 'I'
 
 
    close @in_file
    if delf(path*'dbaso.in') = .f.
     msg "Error deleting "+path*'DBASO.IN' windows 'i'
    endif
 
This would remove all pertinent conditional expressions from the mix thus isolating whether the deleting statement is working. If it is then the conditionals I removed could be put back one by one until the problem is found (well, they should be commented out initially and uncommented in sequence but you get the point.) If, however, it still doesn't work then investigation into why not might be served by moving the message on failure out of the if block thus making it alway happen. Then the end user can see what path + file it's trying to delete.
 
All of this is to say, in the right hands end users having source can be a good thing. Some of us have enough experience with debugging to find the problem ourselves.
Back to top
 
 

Collin
K & K Manufacturing, Inc

EvoERP Version 1-22-10 SP3
5 User Workgroup Pervasive 10
Email WWW   IP Logged
RPCAdmin
Active Member
*****


Please save me from
the Users!!!!!!!

Posts: 521
Gender: male
Re: EDI :  DE-P-B
Reply #7 - 04/11/07 at 04:53:23
 
Allen,
 
The code looks fine to me... Are you getting the question "Do you want to clear the DBASO.IN file?" when running DE-P-B? is your menu calling ISEDIB.RUN?
 
Yes, I definitely get the question "Do you want to clear the DBASO.IN file?"
 
No, it is running T6EDIB.RUN.
 
Also (not sure if it makes a difference), but we don't run CANDOEDI, so it is not running during these operations.
Back to top
 
 

Mike Nessen
Sr. Engineer/IT Manager/Anything else I need to be
EVO-Erp Build (always the latest) Client/Server
Pervasive 2000i on NT4 Server 15 users
Email 272531373   IP Logged
RPCAdmin
Active Member
*****


Please save me from
the Users!!!!!!!

Posts: 521
Gender: male
Re: EDI :  DE-P-B
Reply #8 - 04/11/07 at 04:57:25
 
Allen,
 
Actually, DE-P-B  thru D are all running the T6 versions.
 
Back to top
 
 

Mike Nessen
Sr. Engineer/IT Manager/Anything else I need to be
EVO-Erp Build (always the latest) Client/Server
Pervasive 2000i on NT4 Server 15 users
Email 272531373   IP Logged
RPCAdmin
Active Member
*****


Please save me from
the Users!!!!!!!

Posts: 521
Gender: male
Re: EDI :  DE-P-B
Reply #9 - 04/11/07 at 06:09:15
 
Allen,
 
OK - it looks like the function works properly with the ISEDIB.RUN file but not with the T6EDIB.RUN file.
 
Back to top
 
 

Mike Nessen
Sr. Engineer/IT Manager/Anything else I need to be
EVO-Erp Build (always the latest) Client/Server
Pervasive 2000i on NT4 Server 15 users
Email 272531373   IP Logged
NovaZyg
Administrator
*****


When all else
fails.. Read the
instructions.

Posts: 789
Gender: male
Re: EDI :  DE-P-B
Reply #10 - 04/11/07 at 11:47:10
 
You were correct, the T6EDIB still had that bug, it was fixed in ISEDIB but not in T6, I just fixed it and sent to Lynn
The only difference between T6EDIB and ISEDIB is T6 lets you import 5000 lines and IS only does 500.
Back to top
 
 

Allen Landry
Evo~ERP

EvoERP and DBA Classic always Beta's of the Latest versions.

WWW   IP Logged
RPCAdmin
Active Member
*****


Please save me from
the Users!!!!!!!

Posts: 521
Gender: male
Re: EDI :  DE-P-B
Reply #11 - 04/11/07 at 11:57:30
 
Allen,
 
Don't think that will be an issue.  I don't expect any of our PO's to be anywhere near 500 lines.  If they are, I can ask Lynn to get me the updated versions of the T6 files, or if she reads this, she can e-mail them to me.
 
Thanks!! Grin
Back to top
 
 

Mike Nessen
Sr. Engineer/IT Manager/Anything else I need to be
EVO-Erp Build (always the latest) Client/Server
Pervasive 2000i on NT4 Server 15 users
Email 272531373   IP Logged
Pages: 1
Send Topic Print