ADempiere Business Suite ERP/CRM/MFG/SCM/POS done the Bazaar way in an open and unabated fashion. Focus is on the Community that includes Subject Matter Specialists, Implementors and End-Users.
e-Evolution on develop
Add github actions to use a sin… Merge pull request #3384 from m… (compare)
mckayERP on #3383_UpdateGithubActionsForJava1.8
mckayERP on #3383_UpdateGithubActionsForJava1.8
Update github actions to use ja… (compare)
mckayERP on develop
Add github actions to use a sin… (compare)
mckayERP on develop
#3368 Throws an error when doin… (compare)
mckayERP on #3309_FixGardenWorldCleanUp
Fix an assumption in the TimeUt… (compare)
@ProcessRunError@ @Error@ Client Accounting is not enabled
In order to run this process you need to enable client accounting, this can be done in window System Configurator, setting the parameter CLIENT_ACCOUNTING to [I]mmediate or [Q]ueue
+ "throw an exception")
final void whenClientAcctDisabled_throwsException() {
assertThrows(AdempiereException.class, () -> {
process.execute(trxName);
});
}
ProcessInfo info = process.execute(trxName);
if (info.isError())
throw new AdempiereException(info.getThrowable().toString());
private void assertProcessWasSuccessful(ProcessInfo info) {
assertFalse(info.isError());
assertEquals("OK", info.getSummary());
}
@Test
@DisplayName("When passed no parameters, then the process should "
+ "succeed")
final void whenNoParameters_doItReturnsOk() throws Exception {
ProcessInfo info = process.execute(trxName);
assertProcessWasSuccessful(info);
}
Other proiblem that I found was that report to @yamelsenih Yamel , the table FM_Batch have not DateAcct then the return Client Accounting Processor return an NPE for this reason
Here is the fix adempiere/adempiere#3226
@yamelsenih @e-Evolution Travis CI builds don't seem to be running. There may be a credit issue as they move from travis-ci.org to travis-ci.com. It should still be free for Open Source projects. Can you check it out?
Hi @mckayERP thanks, Travis now have plans for free and pay for. I change this to github actions and is ok, here a merge: https://github.com/adempiere/adempiere/runs/1746527315