E-Invoice Center Project configuration > Platform configuration > Selecting the output connector dynamically > Retrieving customer preferences directly from input data

Retrieving customer preferences directly from input data
You retrieve customer preferences directly from the input data. A field value in the input data determines whether the invoice should be an e-invoice.
In the Project, you configure the selection of the output connector using a script alias. You specify the script alias in the Connector Selection Method dialog box in Design Center.
Example 1
if(&InvoiceFormat = "E-Invoice YES")
{
$Connector = "EInvoiceConnector";
}
if(&InvoiceFormat = "E-Invoice NO")
{
$Connector = "OtherConnector";
}
 
OpenText StreamServe 5.6 Updated: 2013-03-01