Interface IAccountingSetupService

All Known Implementing Classes:
AccountingSetupServiceImpl

public interface IAccountingSetupService
Service for accounting setup operations. Implementation provided by accounting module.
  • Method Details

    • linkDimensionToAcctSchema

      boolean linkDimensionToAcctSchema(int C_AcctSchema_ID, String elementType, int dimensionID, String trxName)
      Link dimension to accounting schema element
      Parameters:
      C_AcctSchema_ID - accounting schema
      elementType - element type (MC, SR, AY, BP, PR, PJ)
      dimensionID - dimension ID to link
      trxName - transaction
      Returns:
      true if linked
    • createAccountingInfrastructure

      IAccountingSetupService.AccountingSetupResult createAccountingInfrastructure(Properties ctx, MClient client, int AD_Org_ID, KeyNamePair currency, boolean hasProduct, boolean hasBPartner, boolean hasProject, boolean hasMCampaign, boolean hasSRegion, boolean hasActivity, File accountingFile, boolean inactivateDefaults, int C_Calendar_ID, String stdColumns, String stdValues, String trxName)
      Create complete accounting infrastructure
      Parameters:
      ctx -
      client -
      AD_Org_ID -
      currency -
      hasProduct -
      hasBPartner -
      hasProject -
      hasMCampaign -
      hasSRegion -
      hasActivity -
      accountingFile -
      inactivateDefaults -
      C_Calendar_ID -
      stdColumns -
      stdValues -
      trxName -
      Returns:
      AccountingSetupResult