Package org.idempiere.acct
Class AccountingSetupServiceImpl
java.lang.Object
org.idempiere.acct.AccountingSetupServiceImpl
- All Implemented Interfaces:
IAccountingSetupService
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.idempiere.acct.IAccountingSetupService
IAccountingSetupService.AccountingSetupResult -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAccountingInfrastructure(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 infrastructurebooleanlinkDimensionToAcctSchema(int C_AcctSchema_ID, String elementType, int dimensionID, String trxName) Link dimension to accounting schema element
-
Constructor Details
-
AccountingSetupServiceImpl
public AccountingSetupServiceImpl()
-
-
Method Details
-
linkDimensionToAcctSchema
public boolean linkDimensionToAcctSchema(int C_AcctSchema_ID, String elementType, int dimensionID, String trxName) Description copied from interface:IAccountingSetupServiceLink dimension to accounting schema element- Specified by:
linkDimensionToAcctSchemain interfaceIAccountingSetupService- Parameters:
C_AcctSchema_ID- accounting schemaelementType- element type (MC, SR, AY, BP, PR, PJ)dimensionID- dimension ID to linktrxName- transaction- Returns:
- true if linked
-
createAccountingInfrastructure
public 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) Description copied from interface:IAccountingSetupServiceCreate complete accounting infrastructure- Specified by:
createAccountingInfrastructurein interfaceIAccountingSetupService- Returns:
- AccountingSetupResult
-