Scripts in ReleaseScript.

Kofax Capture Export Release Scripts

Scripts in ReleaseScript.

Postby » Mon Feb 02, 2009 8:01 am

Hello,

Could you tell me which language is in releasescript?

I tried to change the format of amount but no success.

I have a amount like this ( 123.123,23 ) and the result must be ( 123123.12)

I tried wiht the function ( input.replace ) but when i change , by . my amount like ( 123,123.23 ) change for ( 123.123,23)

Many thanks in advance

Herve
Participant
 
Posts: 3
Joined: Thu Apr 27, 2006 10:50 pm

Postby » Thu Feb 12, 2009 1:41 am

The scripts which are part of the configuration of the Export connector should be written in c#.


For your problem, the following script should convert 3.212,00 into 3212.00

return input.Replace(".", "").Replace(",", ".");

However, this does assume that the input is always of the form 0.000,00

If there are other possibilities, then you will need a more advanced script.
Participant
 
Posts: 1
Joined: Fri Oct 31, 2008 6:20 am


Return to Kofax Capture Export Connector - ERP

Who is online

Users browsing this forum: No registered users and 1 guest