Saturday, July 21, 2012

Using 'Form Based' for Communications ? National Model

July 20, 2012

There has been confusion over when to use the Form Based option in the Communications Editor. Using the Form Based option?for communication instructions?incorrectly can lead to?the transmission process?not completing successfully.?Below are the differences between using the Form Based option?and not using it.

If a communication instruction has the form based option?checked (True)?

-????????? A check is done to ensure that the??Combine XML?, ?By Batch?, and ?Combine by DLL? options are all set to False. If any of these options are set to True, the instruction is deemed invalid and processing stops.

-????????? Each file being processed is checked to ensure that it is a valid TraCS 10 form file?(this check compares the file extension of each file with the file extensions listed in the ?Exclude extensions? list found at the top level within the Communications editor.? For example ?usr.exml? is typically found in the exclude extensions list.

-????????? The file being processed is read into memory.

  • If the contents of the file (form, action log, and trans log) need to be decrypted this is done now.
  • The file parts are then reassembled into a valid TraCS 10 form structure format and loaded into the form object so a trans log entry can be added to the form.
  • Once the entry is added to the form, the parts of the TraCS 10 form file are disassembled and formatted back into the original XML file format.
  • If the contents of the file (form, action log, and trans log) need encrypted this is done now.

-????????? If running in File IO type? (i.e., Field Unit mode or VPN mode)

  • The same trans log entry from the previous step is also added to the file in the corresponding form file in the mobile resend backup directory.
  • After the communication process is complete:
    • If the result of running the communication instruction against the file was not successful, the file is moved from the mobile resend backup directory back to the document folder.
    • The trans logs are saved and the Communication ?Process Flow Action? is run against the form associated with each file processed.

-????????? If running in Database IO type (i.e., Workstation mode or non VPN mode)

  • After the communication process is complete, the trans logs are saved and the Communication ?Process Flow Action? is run against the form associated with each file processed.

If a communication instruction has the form based option unchecked (False)?

-????????? Each file format is checked to see whether or not it is a TraCS 10 form file.

-????????? If it is determined from the previous step that the file is a TraCS 10 form

  • ?Form related information is saved off to allow running a final action against the form once the communication process is complete.

-????????? After the communication process is complete:

  • If running in File IO type
    • If the result of running the communication instruction against the file was not successful, the file is moved from the mobile resend backup directory back to the document folder.
    • The trans logs are saved and the Communication ?Process Flow Action? is run against the form associated with each file processed.
  • If running in Database IO type
    • The trans logs are saved and the Communication ?Process Flow Action? is run against the form associated with each file processed.

Like this:

Be the first to like this.

Source: http://blog.nationalmodel.us/2012/07/20/using-form-based-for-communications/

sam young ncaa bracket ramon sessions portland trail blazers nba trade blagojevich new mexico state

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.