container dimCon = str2con(/92302-101/, /-/); List listValueContract = new List(Types::Class); // Depsrtments if(conPeek(dimCon, 2) != //) { valueContract = new DimensionAttributeValueContract(); valueContract.parmName(/Fund/ ); valueContract.parmValue(conPeek(dimCon, 2)); listValueContract.addEnd(valueContract); } accountContract = new LedgerAccountContract(); accountContract.parmMainAccount(conPeek(dimCon, 1)); accountContract.parmValues(listValueContract); validationContract = new LedgerAccountValidationContract(); validationContract.parmLedgerAccount(accountContract); validationContract.parmValidDate(systemDateGet()); dimensionStorage = DimensionServiceProvider::buildDimensionStorageForLedgerAccount(accountContract); validationStatus = LedgerDimensionValidationHelper::validateByTreeForCombination(DimensionStorage, today(), true, false ,false); Info(strFmt(/%1/,validationStatus)) ; }