Document toolboxDocument toolbox

Support center for flex.bi version 3.2

Automated export setup with flex.bi provided HAL package

Requirements:

  1. Hal Licence 
  2. Customized halcust/hobcust files 

The Process

  1. Add the halcust/hobcust package to your server (this should be done by the administrator or the programmer)
  2. (Optional) - Create package keys
  3. Add additional hal rules (Sample - halrulesvc.TX). After adding Hal rules make sure to restart your StandardERP (HansaWorld) client
  4. Go to Technics - Settings - Timed Operations
    1. Add the funcition burti_TimedEvents to background tasks and 90 seconds to run
  5. Go to System - Settings - Timed events and add the functionality you want to execute. The provided timed events and export packaged can do - differ from the standard functionality provided from StandardERP (or HansaWorld) by letting you execute multiple events and defining automated export paths.
    1. (Optional) - Sample Timed Events register TimedEventsVc.txtFor helping to customize the register to your needs please contact us or your local flexbi consultants.
  6. Editing Timed Events - There are two types of export events - "Full register export" and "Customized register export". The first should usually be used only daily/weekly/monthly preferably during off-times. The second (customized) - should be used for exports you need much more often, e.g. - exporting every 10 minutes any transactions made during current day.
    1. ExportEverythingEn - full export 
      1.  Fill in the standard fields as needed (Select Maintenance as routine type)
      2. In the matrix add three lines
        1. AccStr - "Register Code"
        2. ObjStr - "Destination" 
        3. Media - 2 
        4. Use this export for bigger files which could affect your systems workload
    2. ExportPartialEn - customized export
      1. Fill in the standard fields as needed (Select Maintenance as routine type)
      2. In the matrix add 6 (or less) lines
        1. flags[0] - 2
        2. ArtMode - 1 to 14
          1. 1 - NL Transactions, 2 - Sales Invoices etc., 14 - Item History (Currently supported registers)
        3. ObjStr - "Destination"
        4. sStartDate - "Starting date" - can be used with hal language date functions (CurMonthStart , Date etc.)
        5. sEndDate - "Ending date" - can be used with hal language date functions
        6. Media - 2 
      3. This will export your files to requested destination path.