FAQ
I downloaded EDIWare and I am asked to enter a registration code. How do I receive a registration code and for how long is it valid before I have to purchase the product?
The evaluation copy is normally valid for 30 days. If you additional time to evaluate the product, send your install code (appears in red in the registration form), together with explanations about your project and the reason for asking an extension, to support@b-data.com.
How do I get a quick tour of EDIWare?
The best way to understand how it works is to run the supplied demo transactions. Those transactions were carefully chosen to demonstrate mapping and translations for most popular types of files and standards.
Is there any special setup or are there any special things I have to take care before starting to use EDIWare?
It is recommended to review the definitions and options as they appear in File|Settings. For example, if you are located in the United State you have to check the American Date option. In general, it is highly recommended to have a good understand of all settings and options before starting to use the product.
I would like to have all processed source files moved to a different directory once processed. How can I do this?
This is part of your setup and all you have to do is to make sure that the directory to which you want to move your source files after processing is defined in the Processed files directory field (File|Settings|Directories). There is already a predefined directory which you can use (disk:\EDIWare\ediprc) for this purpose.
I have more then one source file and I would like to process all source files, one after the other, in the same run. How do I tell EDIWare to do this?
You can use wild cards in the name of the source file. For example, c:\EDIWare\ediinp\*.*, will cause the processing of all files in the ediinp directory.
How do I automatically assign a different name to my output files?
You can use the command AUTO in the destination file field and EDIWare will automatically assign a file name to each destination file according to a predefined pattern that you can setup in File|Settings|Options.
How do I run EDIWare as a scheduled process?
EDIWare does not have its own scheduler. However, all transactions can be saved as standard bat files and as such scheduled by using any standard Windows scheduler.
Can I be automatically notified if one of my scheduled translations fails?
You can setup automatic e-mail notifications by using the error notifications options as defined in File|Settings|Error Control.
How do I setup a database connection and what are the databases EDIWare can connect to?
EDIWare can practically connect to any database providing the relevant MDAC driver is installed. The database connection string is defined in File|DB Link. A connection wizard is also available allowing easy connection definition and testing.
I am using my internal codes but for each trading partner I have to send out a different code. How do I setup translation tables for different trading partners?
Translated codes can be associated with a certain partner by entering the partners code in the ePartner column in Repository|Translation Tables. The ePartner code itself is defined in File|Settings|Options and as such allowing the execution of the same transaction for different partners depending on the scenarion ini file (the ini file contains the ePartner code).
I already have some standard maps and I would like to create my own versions without re-entering segments and data elements manually?
You can simply load already defined segments by pressing the Load Segment button in the Repository|Maps screen.
How do I setup user profiles so that different users will be able to use data depending on who accesses the application?
As a default, EDIWare does not require a username and password for accessing the application. However, if this is required, you have to check the Apply User Security check box in File|Settings|Options. Once it is checked you will be asked to enter a username and password every time you try to use the program and the Tools|Security option will be now available for use. Using this option you can define a whole set of parameters (called UPX) that can be used in filters. When used in filters, the UPX values depend on who is entering the application.
How do I re-use certain parts of code in a map or filter?
You can use the Repository|Business Rules and Routines options and record your code. This code can be then re-used by copying into maps or filters.
Is EDIWare supporting logical operators like AND/OR?
You can practically define any mathematical or logical expression by using the function EVAL. It is recommended to test functions by using the Function Evaluator program.
How do I generate an error based on certain conditions?
You can check conditions (business rules) and generate errors during the mapping process. See example bellow. For details look up the Business Rules chapter. IF@EVAL(((KEEP10 in '34') and (KEEP11 in 'SY')) or ((KEEP10 in '24') and (KEEP11 in 'EI')))=True:ERROR50- REF01 cannot be 24,34 when NM108 is EI,SY
My output file is very large and in order to save processing time, I would like to skip the error check that is automatically performed at the end of the translation?
All you have to do is to check the No error check on destination file check box in File|Settings|Error Control.
How do I conditionally generate one or more segments?
You can check conditions (IF@) before writing to file and use the command SKIP to indicate that a certain segment should not be generated.
How do I keep segments in memory and write them to file when certain conditions occur?
Use the switches KC and KM in the Commit column of the filter. Segments kept in memory can be also indexed by using the command SETID and retrieved according to a certain key by using the command GETID.
Is it possible to perform data element pattern verification?
Codes like A2, I2..3, etc… can be used in the Pattern column of a map to indicate that data elements should match such patterns. For example A2 will check that the data element is alphanumeric and of fixed length 2 – if the condition is not met an error message will be automatically generated.
The pattern/condition used to verify a certain data element is actually stored in an other data element. How can I use it during the mapping process?
A KEEP variable can be used in the Formula column to store the value of the data element that holds the pattern and then reused in the Pattern column of the data element that is supposed to have this particular pattern.
Certain verifications/checks like mandatory data elements, patterns, etc… are to be used only (or not used at all) if the data element is in a certain loop/group? How do I do this?
To indicate different patterns for different loops use the syntax Pattern|Loop/Pattern|Loop/Pattern, etc… For example A2..4|2000/D6|2100/X will indicate that the default pattern is A2..4 but if this particular segment appears in loop 2000 then pattern is D6 and if it appears in loop 2100 it is not used (X).
How do I make sure that a segment is mapped to the correct loop although the same segment appears also other different loops?
If the segment has a unique identifier then use this value in the Level/Anchor column of the map. If there is no unique identifier then use the indicator @ in the Level/Anchor column to cause the program to continue to search in the map after the first appearance of the segment.
