public class IntercompanyOM extends Object implements Serializable
| Constructor and Description |
|---|
IntercompanyOM(SessionInfo sessionInfo)
Creates an instance of the IntercompanyOM object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTransaction(String scenario,
String year,
String period,
ICTransaction icTransaction)
This api saves a new transaction.
|
ICPeriodsResponseInfo |
closeICTPeriod(String scenario,
String year,
ICPeriodsDetailedInfo periods)
Closes the selected period.
|
List<ErrorDescriptions> |
deleteICReasonCodes(List<ICReasonCode> reasonCodes)
This method will delete one or more ICReasonCodes.
|
void |
editICTransaction(String scenario,
String year,
String period,
ICRowFilterInfo icRowfiler,
ICColumnFilterInfo icColumnFilter,
ICTransaction updatedTransaction)
Method to edit ic transaction
|
List<ICReasonCode> |
enumICReasonCodes()
This method will return list of ICReasonCode objects.
|
ICEmailInfo |
generateICEmail(EmailTargets emailTargets)
This method will generate the email info needed to send to the java mailer class.
|
double |
getDefaultExchangeRate(String povSlice,
String fromCurrency,
String toCurrency)
Method to get default exchange rate
|
List<ICEntity> |
getICEntities(String scenario,
String year,
String period,
ICEntityFilter icEntityFilter)
Method to get list of ICEntity objects.
|
long |
getICEntitiesSize(String scenario,
String year,
String period,
ICEntityFilter icEntityFilter)
Method to get the size of entities.
|
ICEntityDetailInfo |
getICEntityDetail(String scenario,
String year,
String period,
String entity)
Method to get Transaction detail object.
|
ICEntitySummaryInfo |
getICEntitySummary(String scenario,
String year,
String period,
List<String> entities)
Method to get icentities summary info.
|
ICPeriodsDetailedInfo |
getICPeriods(String scenario,
String year)
This method populates the ICT Period table.
|
ICTransaction |
getICTransactionDetail(String scenario,
String year,
String period,
String sequenceId)
Method to get an IC Transaction in its raw values.
|
List<ICTransaction> |
getICTransactions(String scenario,
String year,
String period,
int startIndex,
int rangeSize,
ICRowFilterInfo icRowfiler,
ICColumnFilterInfo icColumnFilter)
Method to get list of ICTransaction objects.
For the ICColumnFilterInfo parameter: For each custom dimension, call addToCustoms() with an ICCustomColumnFilter object whose name is set to the custom dimension name. For the ICRowFilterInfo parameter, at least one of the following should be called with a value of true: setIncludeMatched; setIncludeMisMatched setIncludeUnMatched setIncludePosted setIncludeUnPosted setDisplayEntityTrans setDisplayPartnerTrans |
long |
getICTransactionsSize(String scenario,
String year,
String period,
ICRowFilterInfo icRowfiler,
ICColumnFilterInfo icColumnFilter)
Method to get the total size of ICTransaction objects satisfying the filter criteria.
|
List<MatchedTransactionsInfo> |
getMatchedTransactions(String scenario,
String year,
String period,
List<String> sequenceId,
ICColumnFilterInfo columnFilter)
method return list of matched transactions with match code.
|
List<LockUnlockEntity> |
lockEntities(String scenario,
String year,
String period,
List<String> entities)
Method to Lock the selected entities.
|
ICPeriodsResponseInfo |
openICTPeriod(String scenario,
String year,
ICPeriodsDetailedInfo periods)
Opens the selected periods.
|
List<ICTransactionErrorInfo> |
processICTransactions(String scenario,
String year,
String period,
ICTRANSPROCESSACTION action,
List<String> sequenceId)
Method handles post Selected,UnPost Selected,Delete selected etc.
|
List<ICTransactionErrorInfo> |
processICTransactionsByFilter(String scenario,
String year,
String period,
ICTRANSPROCESSACTION action,
ICRowFilterInfo rowFilter)
Method handles Post All,UnPost All,Delete All,UnMatch All,based on filter settings.
|
List<ErrorDescriptions> |
saveICReasonCodes(List<ICReasonCode> reasonCodes)
This method will save a list of ICReasonCodes.
|
ICPeriodsResponseInfo |
saveICTPeriodProperties(String scenario,
String year,
ICPeriodsDetailedInfo periods)
Save the selected period settings.
|
void |
saveTransaction(String scenario,
String year,
String period,
ICTransaction icTransaction,
boolean amountChanged)
This api Saves an edited transaction.
|
List<ICTransactionErrorInfo> |
setReasonCode(String scenario,
String year,
String period,
String reasonCode,
List<String> sequenceIds)
This api is to set reasonCode for a transaction or set of transactions.
|
void |
setReasonCodeandComment2(String scenario,
String year,
String period,
String entity,
String icp,
String reasonCode,
String comment2,
String seqId)
This api is to set reasonCode and comment 2 for a transaction.
|
void |
startAutoMatchByAccount(String scenario,
String year,
String period,
ICAUTOMATCHTYPE type,
AutoMatchByAccountInfo automatchByAccountInfo)
This method will start IC AUTO Match.
|
void |
startAutoMatchById(String scenario,
String year,
String period,
ICAUTOMATCHTYPE type,
AutoMatchByIDInfo automatchByIdInfo)
This method will start IC AUTO Match.
|
List<LockUnlockEntity> |
unlockEntities(String scenario,
String year,
String period,
List<String> entities)
Method to UnLock the selected entities.
|
List<ICTransactionErrorInfo> |
unMatchTransactions(String scenario,
String year,
String period,
List<String> matchCodes)
Method to un match set of transactions.
|
public IntercompanyOM(SessionInfo sessionInfo) throws HFMException
sessionInfo - session informationHFMExceptionpublic ICEmailInfo generateICEmail(EmailTargets emailTargets) throws HFMException
emailTargets - email object formed by the IC eventsHFMExceptionpublic List<ICEntity> getICEntities(String scenario, String year, String period, ICEntityFilter icEntityFilter) throws HFMException
scenario - Selected scenario nameyear - Selected year nameperiod - Selected period nameicEntityFilter - IC entity filter objectHFMExceptionpublic long getICEntitiesSize(String scenario, String year, String period, ICEntityFilter icEntityFilter) throws HFMException
scenario - Selected scenario nameyear - Selected year nameperiod - Selected period nameicEntityFilter - IC entity filter objectHFMExceptionpublic ICEntityDetailInfo getICEntityDetail(String scenario, String year, String period, String entity) throws HFMException
scenario - Selected scenario nameyear - Selected year nameperiod - Selected period nameentity - Selected entity nameHFMExceptionpublic ICEntitySummaryInfo getICEntitySummary(String scenario, String year, String period, List<String> entities) throws HFMException
scenario - Selected scenario nameyear - Selected year nameperiod - Selected period nameentities - Selected list of entitiesHFMExceptionpublic List<LockUnlockEntity> lockEntities(String scenario, String year, String period, List<String> entities) throws HFMException
scenario - Selected scenario nameyear - Selected year nameperiod - Selected period nameentities - Selected list of entities to be lockedHFMExceptionpublic List<LockUnlockEntity> unlockEntities(String scenario, String year, String period, List<String> entities) throws HFMException
scenario - Selected scenario nameyear - Selected year nameperiod - Selected period nameentities - Selected list of entities to be unlockedHFMExceptionpublic ICPeriodsDetailedInfo getICPeriods(String scenario, String year) throws HFMException
scenario - Selected scenario memberyear - Selected year memberHFMExceptionpublic ICPeriodsResponseInfo openICTPeriod(String scenario, String year, ICPeriodsDetailedInfo periods) throws HFMException
scenario - Selected scenario memberyear - Selected year memberperiods - Period object with period to openHFMExceptionpublic ICPeriodsResponseInfo closeICTPeriod(String scenario, String year, ICPeriodsDetailedInfo periods) throws HFMException
scenario - Selected scenario memberyear - Selected year memberperiods - List of ICPeriod with its current statusHFMExceptionpublic ICPeriodsResponseInfo saveICTPeriodProperties(String scenario, String year, ICPeriodsDetailedInfo periods) throws HFMException
scenario - Selected scenario memberyear - Selected year memberperiods - List of ICPeriod with its current statusHFMExceptionpublic List<ICReasonCode> enumICReasonCodes() throws HFMException
HFMExceptionpublic List<ErrorDescriptions> saveICReasonCodes(List<ICReasonCode> reasonCodes) throws HFMException
reasonCodes - List of Reason codes to be savedHFMExceptionpublic List<ErrorDescriptions> deleteICReasonCodes(List<ICReasonCode> reasonCodes) throws HFMException
reasonCodes - List of Reason codes to be deletedHFMExceptionpublic void startAutoMatchById(String scenario, String year, String period, ICAUTOMATCHTYPE type, AutoMatchByIDInfo automatchByIdInfo) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period nametype - selected automatch typeautomatchByIdInfo - automatchById info objectHFMExceptionpublic void startAutoMatchByAccount(String scenario, String year, String period, ICAUTOMATCHTYPE type, AutoMatchByAccountInfo automatchByAccountInfo) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period nametype - selected automatch typeautomatchByAccountInfo - automathbyaccount info objectHFMExceptionpublic List<ICTransaction> getICTransactions(String scenario, String year, String period, int startIndex, int rangeSize, ICRowFilterInfo icRowfiler, ICColumnFilterInfo icColumnFilter) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period namestartIndex - selected startIndexrangeSize - selected rangeSizeicRowfiler - selected rowFiltericColumnFilter - selected columnFilterHFMExceptionpublic ICTransaction getICTransactionDetail(String scenario, String year, String period, String sequenceId) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period namesequenceId - selected sequenceId nameHFMExceptionpublic long getICTransactionsSize(String scenario, String year, String period, ICRowFilterInfo icRowfiler, ICColumnFilterInfo icColumnFilter) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period nameicRowfiler - selected rowfiltericColumnFilter - selected column filterHFMExceptionpublic List<ICTransactionErrorInfo> processICTransactions(String scenario, String year, String period, ICTRANSPROCESSACTION action, List<String> sequenceId) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period nameaction - selected process actionsequenceId - selected sequence id listHFMExceptionpublic List<ICTransactionErrorInfo> processICTransactionsByFilter(String scenario, String year, String period, ICTRANSPROCESSACTION action, ICRowFilterInfo rowFilter) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period nameaction - selected actionrowFilter - selected rowfilterHFMExceptionpublic List<MatchedTransactionsInfo> getMatchedTransactions(String scenario, String year, String period, List<String> sequenceId, ICColumnFilterInfo columnFilter) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period namesequenceId - selected sequence Id listcolumnFilter - selected columnfilterHFMExceptionpublic void addTransaction(String scenario, String year, String period, ICTransaction icTransaction) throws HFMException
scenario - selected scenarioyear - selected yearperiod - selected periodicTransaction - to be addedHFMExceptionpublic void saveTransaction(String scenario, String year, String period, ICTransaction icTransaction, boolean amountChanged) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period nameicTransaction - to be addedamountChanged - flagHFMExceptionpublic List<ICTransactionErrorInfo> setReasonCode(String scenario, String year, String period, String reasonCode, List<String> sequenceIds) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period namereasonCode - to be addedsequenceIds - sequence Ids of the transactions selectedHFMExceptionpublic void setReasonCodeandComment2(String scenario, String year, String period, String entity, String icp, String reasonCode, String comment2, String seqId) throws HFMException
scenario - selected scenario nameyear - selected year nameperiod - selected period nameentity - selected entity nameicp - selected icp namereasonCode - to be addedcomment2 - to be addedseqId - sequence Id of the transaction selectedHFMExceptionpublic List<ICTransactionErrorInfo> unMatchTransactions(String scenario, String year, String period, List<String> matchCodes) throws HFMException
scenario - selected scenarioyear - selected yearperiod - selected periodmatchCodes - of the matched transactionsHFMExceptionpublic void editICTransaction(String scenario, String year, String period, ICRowFilterInfo icRowfiler, ICColumnFilterInfo icColumnFilter, ICTransaction updatedTransaction) throws HFMException
scenario - selected scenarioyear - selected yearperiod - selected periodicRowfiler - selected rowfiltericColumnFilter - selected columnfilterupdatedTransaction - ic transaction object with the new values. The fields set in this
object are consider to be the fields that needs to be updatedHFMExceptionpublic double getDefaultExchangeRate(String povSlice, String fromCurrency, String toCurrency) throws HFMException
povSlice - pov, Scenario, Year, Period and Entity members are mandatoryfromCurrency - member, any member which is part of [Currencies] list in Custom1 dimensiontoCurrency - member, any member which is part of [Currencies] list in Custom2 dimensionHFMExceptionCopyright 2007, 2026, Oracle. All rights reserved.