Integrate and migrate 3e services
Description
Environment
Activity
Carlos Ruiz August 31, 2019 at 9:47 AM
I see , something looks wrong in ModelADServiceImpl.validateParameter - if parameter is int, it cannot accept UUID strings.
I think is something noted already in and IDEMPIERE-2767, but still not fixed.

Hiep Lq August 31, 2019 at 7:32 AM
Hi , i use UUID from idempiere database
attachment is my test to call ProcessInvoice
i set AD_Process_ID = a7d363bc-7ee5-4be2-b049-56a2e4021133
it fail at line 404 class ModelADServiceImpl. isn’t reach to ADLookup
i guess document mention to lookup reference, isn’t for standard parameter like AD_Menu_ID, AD_Process_ID, AD_Record_ID
Carlos Ruiz August 30, 2019 at 9:38 AM
Hi , maybe you're using a UUID that is not using a valid format.
See ADLookup line 344 UUID_REGEX
UUID format is expected to be compliant with that definition:
https://en.wikipedia.org/wiki/Universally_unique_identifier#Format

Hiep Lq August 30, 2019 at 2:31 AM
from wiki https://wiki.idempiere.org/en/NF1.0_Web_Services_Improvements
Note that for _ID parameter, it will accept both Record ID and UUID value.
but from code ModelADServiceImpl.runProcess
if i use UUID i will get “invalid int value”
so need to adjust wiki or i do something wrong?
Details
Details
Assignee

Reporter

Integrate 3e services to idempiere.
Migrate from xfire to cxf