Important Alert. Enterprise Module Management Window
Please be aware that after an update of your Openbravo instance to the MP19 or the higher versions (up to MP23) Enterprise Module Management Window (General Setup > Enterprise > Enterprise module management) will display availability of the Core Reference data (see the screenshot below with an example).
You SHOULD NOT APPLY this Reference data if your core version is between MP19 and MP23 (both included).
This Reference data has a defect that resets sequence numbers of all the Document Types (Orders, Invoices and so on) included in it. This issue is fixed and will be available within MP24.
In case you have already applied this dataset after the update to one of the above mentioned MPs please get in touch with our Technical Support Team, because the numbers of the documents in your instance must be reviewed to check whether there is any duplicated number or not.
You can verify that your Document Types sequence numbers are not reseted by executing the PL-SQL script below. It should return zero records.
select sum(foo.a) as counter from ( select 'client' as source, count(*) as a from ad_clientmodule where ad_module_id='0' and created <> updated union select 'org' as source, count(*) as a from ad_orgmodule where ad_module_id='0' and created <> updated ) foo;