Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0046275
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] External Integration Infrastructuremajoralways2021-04-15 16:522021-05-26 11:02
ReportergsuarezView Statuspublic 
Assigned Toplatform 
PriorityhighResolutionno change requiredFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0046275: When an invoice is integrated by EDL and there is an error, the invoice is marked as sent, but it has not been sent to SAP.

DescriptionWhen an invoice is integrated by EDL and there is an error, the invoice is marked as sent, but it has not been sent to SAP. The Has Been Exported to SAP field remains set to true but the EDL Request remains in error.
The module that throws the error is org.openbravo.util.export.soap. The error was connection not available.
Steps To Reproduce1. Create an entity mapping with the following values:
  a). Openbravo Entity: Invoice
  b). Integration direction: From Openbravo to External System.
  c). Integration API Type: Manual BaseOBObject.
2. The edl process used is BOB ID Based Export Process.
3. Communication through SOAP method.
4. In the class SOAPExporter of the module org.openbravo.util.export.soap try to throw a force error.
5. As result, the invoice was marked as sent to the other system. The EDL Record was in error, so the invoice never goes to the other system.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0128643)
AugustoMauch (manager)
2021-05-26 11:02

Closing the issue because it is working as expected. The name of the field is confusing, I will explain its purpose.

The connector infrastructure provides a background process that periodically checks the invoices pending to be exported. Each time it is executed it will include in an EDL Request those invoices whose "Has Been Exported" flag is set to false, to ensure that the next time the process is executed, it is not included in new EDL Request, preventing sending duplicated invoices.

If the request fails, the "Has Been Exported" flag remains true, and the EDL Request status will be "Error". I understand the confusion, but that flag is more intended to be helpful to the infrastructure but not so much to the users that want to know if the record has reached SAP.

If I remember correctly a way to know if the record has been successfully sent to SAP is by checking if the exported IDOC has been attached to the invoice.

- Issue History
Date Modified Username Field Change
2021-04-15 16:52 gsuarez New Issue
2021-04-15 16:52 gsuarez Assigned To => platform
2021-05-19 22:59 egoitz Resolution time => 1623189600
2021-05-26 11:02 AugustoMauch Note Added: 0128643
2021-05-26 11:02 AugustoMauch Status new => closed
2021-05-26 11:02 AugustoMauch Resolution open => no change required


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker