MBO object to represent Currency.
The Currency object stores and maintains detailed information about the different currencies
set to be used by the MAXIMO system.
Can the currency object be deleted?
Checks for currency code reference in non-history PO, PR, Company, RFQVendor, Invoice, MatRecTrans,
MatUseTrans, ServRecTrans or InvoiceTrans.
public void add()
throws MXException,
java.rmi.RemoteException
Adds a new Currency record. Required fields of the Currency object are initialized.
The table below shows the default values for each of the attributes listed.
Attribute LastUsed is set to be read-only.
public void delete(long accessModifier)
throws MXException,
java.rmi.RemoteException
Deletes this currency object. delete() overridden by Currency MBO.
When a currency mbo is deleted it deletes all the corresponding Exchange mbos.
(all Exchange mbos for the currency code).
public void canDelete()
throws MXException,
java.rmi.RemoteException
Can the currency object be deleted?
Checks for currency code reference in non-history PO, PR, Company, RFQVendor, Invoice, MatRecTrans,
MatUseTrans, ServRecTrans or InvoiceTrans.
MXApplicationException - (currency, DeleteCurrency) is thrown
if the currency is referenced by PO, PR, Company, Invoice, RFQVendor,
MatRecTrans, MatUseTrans, ServRecTrans or InvoiceTrans tables
Calculates the cost equivalent to the current mbo(currencyfrom) given any currency code.
Called when a date is given to get the active exchange rate
in calculating the cost.