Method Summary |
|
public OffsetAccount | getByPrimaryIdIfEnabled(String chartOfAccountsCode, String accountNumber, String financialOffsetObjectCode) This method uses the parameters provided to retrieve an OffsetAccount instance if the flexible offset account flag is
enabled.
Parameters: chartOfAccountsCode - The chart code used to retrieve the flexible offset account. Parameters: accountNumber - The account number of the flexible offset account being retrieved. Parameters: financialOffsetObjectCode - The offset object code used to retrieve the offset account. |
public boolean | getEnabled() This method queries the parameter table to retrieve the value of the flexible offset flag and returns the resulting value.
True if flexible offsets are enabled, false otherwise. |
public void | setAccountService(AccountService accountService) Sets the local accountService attribute. |
public void | setBusinessObjectService(BusinessObjectService businessObjectService) Sets the local businessObjectService attribute. |
public void | setDateTimeService(DateTimeService dateTimeService) Sets the local dateTimeService attribute. |
public void | setObjectCodeService(ObjectCodeService objectCodeService) Sets the local objectCodeService attribute. |
public void | setParameterService(ParameterService parameterService) Sets the local parameterService attribute. |
public boolean | updateOffset(FlexibleAccountUpdateable transaction) This method modifies the origin entry provided with values from the associated flexible offset account, which is
retrieved from the database using values provided by the origin entry.
Parameters: originEntry - The origin entry to be updated with offset account details. |