Script Deployment


Exchange Rate Integration

To deploy the exchange rate integration script:

  1. Go to Customization > Scripting > Scripts.

  2. Search for [STA] Update FX Rates SS (id: customscript_sta_update_fxrates)

  3. Click the View link.

  4. Go to the Deployments tab.

  5. Click Script Deployment record.

  6. Click the Edit button.

  7. Check Deployed box.

  8. Select Status to Scheduled

  9. Go to the Parameters subtab.

    1. Check any of the currency checkboxes (NBP, MNB, ECB) if this set of parameters only applies to specific currencies. Leaving all checkboxes unchecked will apply the parameters to all enabled currency exchange rate integrations in [STA] FX Rates Update Preferences.

    2. Select the Get Exchange Rate: You can choose between two options on which date the FX rate will be based.

      • Before Effective Date - exchange rates published a day before the effective date will be used. If the day before falls on a weekend, published rates from the previous Friday will be used.

      • On or Before Effective Date - exchange rates published on the day or a day before the effective date will be used. If the day before falls on a weekend, published rates from the previous Friday will be used.

  10. Go to the Schedule subtab.

    1. Select Daily Event > Repeat Every Weekday.

    2. Select Start Date.

    3. Select Start Time.

  11. Click the Save button.

Resubmission of timeout invoices to NAV

This is used to schedule the resubmission of invoices when NAV fails to return a failed or success response. This is considered a timeout. These invoices will have the “Processing” status. The script will automatically resubmit these invoices based on a defined schedule until a failed or success status is achived.

  1. Navigate to Customization > Scripting > Scripts

  2. Look for [STA] HU MR Resend RTID Invoices and click View

  3. Under the Deployments subtab, click the Script Deployment

  4. In the Script Deployment record, click Edit

    1. Set the status to “Scheduled”

    2. Click the “Daily Event” radio button

    3. Define the repeat schedule

    4. Select repeat “every hour” or any of the other options

    5. Check the No end date box.

  5. Click Save.

 


For questions or concerns, please contact support@staria.com.