From 7b283e5b03d81bb3bb6b1b2cf2945157f48e2422 Mon Sep 17 00:00:00 2001 From: Ralph Soika Date: Thu, 19 Jun 2025 14:13:08 +0200 Subject: [PATCH] zoho tax export bills --- .../zoho/ZohoAPIService.java | 20 +++++++++++++++++++ workflow/dwc/rechnungsausgang-dwc-1.0.5.bpmn | 9 ++++++--- workflow/dwc/rechnungseingang-dwc-1.0.6.bpmn | 11 +++++----- 3 files changed, 32 insertions(+), 8 deletions(-) diff --git a/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/zoho/ZohoAPIService.java b/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/zoho/ZohoAPIService.java index 5445651..9125028 100644 --- a/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/zoho/ZohoAPIService.java +++ b/office-alexander-logistics-app/src/main/java/com/alexanderlogistics/zoho/ZohoAPIService.java @@ -972,6 +972,21 @@ public class ZohoAPIService { * This finder method returns the tax ID to a given percentage. * The method returns null if no tax with this percentage exists * + * Change: 19.June 2025 - we do no longer resolve the tax information + * + * Akhil Raj: + * Of course, we will be reviewing the tax information. Since the + * goal of integrating the systems is to automate processes and minimize manual + * input, I simply inquired whether tax data could be retrieved. However, now + * that you've clarified that Imix does not store this information, that's + * perfectly fine we can manage those details and input them during our + * verification process. + * + * ## Finale Lösung + * Wir fangen den API error nun ab. so kann Herr Hoelzl das problem an die + * Kanzlei melden, diese können die Steuernummer ergänzen und man kann dann + * bequem den fehlgeschlagenene Export wiederholen. + * * @param tax_percentage * @param accessToken * @return taxID @@ -980,6 +995,11 @@ public class ZohoAPIService { public String lookupTaxID(float tax_percentage, String accessToken) throws PluginException { + // deactivated - see comment + // if (true) { + // return null; + // } + if (tax_percentage == 0.0) { return null; } diff --git a/workflow/dwc/rechnungsausgang-dwc-1.0.5.bpmn b/workflow/dwc/rechnungsausgang-dwc-1.0.5.bpmn index f566046..1f51d3e 100644 --- a/workflow/dwc/rechnungsausgang-dwc-1.0.5.bpmn +++ b/workflow/dwc/rechnungsausgang-dwc-1.0.5.bpmn @@ -1492,7 +1492,7 @@ Wiedervorlage wird um 7 bzw. 5 Tage erhöht - adapter.error_code]]> + adapter.error_code - $workflowgroup : invoice.number]]> @@ -1534,7 +1534,7 @@ Wiedervorlage wird um 7 bzw. 5 Tage erhöht - adapter.error_code]]> + adapter.error_code: adapter.error_message]]> @@ -1552,7 +1552,10 @@ Wiedervorlage wird um 7 bzw. 5 Tage erhöht adapter.error_code -application.urlindex.jsf?workitem=$uniqueid]]> +adapter.error_message + + +See details: application.urlindex.jsf?workitem=$uniqueid]]> diff --git a/workflow/dwc/rechnungseingang-dwc-1.0.6.bpmn b/workflow/dwc/rechnungseingang-dwc-1.0.6.bpmn index fd18356..e814652 100644 --- a/workflow/dwc/rechnungseingang-dwc-1.0.6.bpmn +++ b/workflow/dwc/rechnungseingang-dwc-1.0.6.bpmn @@ -4132,7 +4132,10 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export']] adapter.error_code -application.urlindex.jsf?workitem=$uniqueid]]> +adapter.error_message + + +See details: application.urlindex.jsf?workitem=$uniqueid]]> @@ -4173,7 +4176,7 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export']] - adapter.error_code]]> + adapter.error_code: adapter.error_message]]> false @@ -4189,7 +4192,7 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export']] - adapter.error_code]]> + adapter.error_code - $workflowgroup : invoice.number]]> @@ -5230,8 +5233,6 @@ Export erfolgt über eine asynchrone Verarbeitung im Modell 'cargosoft-export']] - -