Payables and Cash Management - EBS (MOSC)

MOSC Banner

Payments XML File Format

Hi,

I am creating a payment file format for Sweden that is using the Unstructured Remittance field - coding element of the payment file below:

          <xsl:if test="not(UniqueRemittanceIdentifier/Number='')">

                  <RmtInf>         

                        <Ustrd>

                              <xsl:value-of select="UniqueRemittanceIdentifier/Number"/>

                        </Ustrd>

                  </RmtInf>          

        </xsl:if>

What I want to do is allow the field to be populated in the payment file if the XML Tag field is populated - which is happening at the moment.  However, if the XML Tag (UniqueRemittanceIdentifier) is not populated, the file structre is still appearing in the paymetn file - displayed below:

-<RmtInf>
  <Ustrd />
</RmtInf>
  
       This is causing the payment file to fail when importing into the bank.  Can someone please show the XML coding that is needed to allow the payment file field to be populated if data is populated in the XML Tag, but also to not show the payment file field structure if the XML Tag is not populated.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center