Not able read the .csf file using Clib.fopen in siebel IP 2014 patch 3
Hi all,
I have requirement to read Exchange Rate from .csv file and load into siebel file. I written below mentioned BS code, in simulator i observed that for var fRead is coming null value and my code is not executing as expected. Please review my code and suggest if any changes required. and also sometimes getting below error msg
"Unhandled Exception: Insufficient number of parameters for fclose"
function Service_PreInvokeMethod (MethodName, Inputs, Outputs)
{
if ( MethodName == "LoadExchangeRate" )
{
try
{
var sCurrentRecord = "";
var sArray = new Array();
var sCurBO,sCurBC,sExchgRateBC;
var sFrmCurrency, sToCurrency, sConvDate, sExchgRate ;
sCurBO = TheApplication().GetBusObject("Currency");
sCurBC = sCurBO.GetBusComp("Currency");