Table of Content
HAL Forum
function val Cur2B1 (
string CurncyTo,date CurncyDate,val Amount)
Description:
Returns a value in primary currency (base 1) that has been converted from a value in specified currency.
Parameters:
CurncyTo The currency mark for the value that we are converting from.
CurncyDate The date of the exchange rate.
Amount The value in specified currency.
external inner function val Cur2B1(string,date,val);

global
procedure OnApplicationStartup() 
begin

  SetCompany(1,true);
  stopalert(Cur2B1("USD",CurrentDate,100));

  return;
end;

Related topics:
««