Package org.idempiere.acct
Interface IAccountingSetupService
- All Known Implementing Classes:
AccountingSetupServiceImpl
public interface IAccountingSetupService
Service for accounting setup operations.
Implementation provided by accounting module.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classResult object for accounting setup -
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
-
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 schemaelementType- element type (MC, SR, AY, BP, PR, PJ)dimensionID- dimension ID to linktrxName- 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
-