RemadvEdiToCsvConverterAction

org.b2bbp.runtime.actions.internal.RemadvEdiToCsvConverterAction

SVN: http://next-level-apps.com/svn/b2bbp/nextlevel/products/B2B by Practice/2.5/trunk/core/org.b2bbp.runtime/src/main/java/org/b2bbp/runtime/actions/internal/RemadvEdiToCsvConverterAction.java

Overview

This action retrieves an REMADV Edifact message from the message context, generates a CSV representation of this message and puts it back into the message context.

Action Properties

List all Action Properties and their value/s.

Property

Value

Overwrite Context

CSV_HEADER

Header line of the CSV document, e.g. “ Nachrichtenreferenz;Nachrichtentyp (UN);Versionsnummer (UN);Freigabenummer (UN);Verwaltende Organisation (UN);Versionsnummer (BDEW);Art der Avise;Zahlungsavisnummer;Zahlung vom;Vertragskontonummer;Rechnungsnummer;Rechnungsdatum;Rechnungsbetrag;SektionsId;Gesamtbetrag;Ablehnungsgrund;Erlaeuterung Ablehnungsgrund”

CSV_DATE_FORMAT

Date format for date values in CSV document, e.g. “yyyyMMdd”

CSV_MONEY_FORMAT

Money format for money values in CSV document, formatted as <locale>:<format string>, e.g.: “de:0,00”

B3P_USE_REMADV_SHORT_CSV_GENERATOR

If this property is set to "true" the converter will not generate an CSV with the CSV_HEADER described above.
If CSV_HEADER is not set, the following (much shorter) header will be used by default::

HEADER = "DOCUMENTNUMBER; REF_NUMBER; RA; DETAILS_NUMBER; REFERENCENUMBER; DATUM; MONETARY_AMOUNT; CURRENCY_ID"

Further configuration

Action Properties

Value

Description

B3P_USE_REMADV_SHORT_CSV_GENERATOR

true

A special generator will create a csv with a shorter content than normal, if this property is set to "true".

If CSV_HEADER is not set, the following (much shorter) header will be used by default::

HEADER = "DOCUMENTNUMBER; REF_NUMBER; RA; DETAILS_NUMBER; REFERENCENUMBER; DATUM; MONETARY_AMOUNT; CURRENCY_ID"

View Me   Edit Me