Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: XML import 2030 sequence 81001070. #63

Conversation

EdwinBetanc0urt
Copy link
Contributor

@EdwinBetanc0urt EdwinBetanc0urt commented Jan 4, 2025

Import the Allow Over Payment Invoice xml file generate errors:

<Step SeqNo="720" StepType="AD">
<PO AD_Table_ID="107" Action="U" Record_ID="100174" Table="AD_Field">
<Data AD_Column_ID="181" Column="SeqNo" oldValue="750">770</Data>
</PO>
</Step>

https://github.com/search?q=org%3Aadempiere+path%3A%2F%5Exml%5C%2Fmigration%5C%2F%2F+100174&type=code

===========> MigrationFromXML.process: Loading Migration from XML failed. [450]
org.adempiere.exceptions.AdempiereException: Loading migration from /home/edwin/workspace/erpcya/LVE/xml/migration/2030_Allow_Over_Payment_Invoice.xml failed.
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:167)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:120)
	at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:610)
	at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:360)
caused by: org.adempiere.exceptions.AdempiereException: Process failed during execution Error:  Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 720; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 720; Type: AD. Step 720, Record 100174 was not found in table Field (107).
	at org.eevolution.services.dsl.ProcessBuilder.execute(ProcessBuilder.java:312)
	at org.compiere.process.MigrationFromXML.applyMigration(MigrationFromXML.java:183)
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:163)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)

<Step SeqNo="730" StepType="AD">
<PO AD_Table_ID="107" Action="U" Record_ID="101819" Table="AD_Field">
<Data AD_Column_ID="181" Column="SeqNo" oldValue="770">780</Data>
</PO>
</Step>

https://github.com/search?q=org%3Aadempiere+path%3A%2F%5Exml%5C%2Fmigration%5C%2F%2F+101819+&type=code

===========> MigrationFromXML.process: Loading Migration from XML failed. [450]
org.adempiere.exceptions.AdempiereException: Loading migration from /home/edwin/workspace/erpcya/LVE/xml/migration/2030_Allow_Over_Payment_Invoice.xml failed.
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:167)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:120)
	at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:610)
	at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:360)
caused by: org.adempiere.exceptions.AdempiereException: Process failed during execution Error:  Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 730; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 730; Type: AD. Step 730, Record 101819 was not found in table Field (107).
	at org.eevolution.services.dsl.ProcessBuilder.execute(ProcessBuilder.java:312)
	at org.compiere.process.MigrationFromXML.applyMigration(MigrationFromXML.java:183)
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:163)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)

<Step SeqNo="740" StepType="AD">
<PO AD_Table_ID="107" Action="U" Record_ID="101817" Table="AD_Field">
<Data AD_Column_ID="181" Column="SeqNo" oldValue="780">790</Data>
</PO>
</Step>

https://github.com/search?q=org%3Aadempiere+path%3A%2F%5Exml%5C%2Fmigration%5C%2F%2F+101817+&type=code

===========> MigrationFromXML.process: Loading Migration from XML failed. [450]
org.adempiere.exceptions.AdempiereException: Loading migration from /home/edwin/workspace/erpcya/LVE/xml/migration/2030_Allow_Over_Payment_Invoice.xml failed.
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:167)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:120)
	at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:610)
	at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:360)
caused by: org.adempiere.exceptions.AdempiereException: Process failed during execution Error:  Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 740; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 740; Type: AD. Step 740, Record 101817 was not found in table Field (107).
	at org.eevolution.services.dsl.ProcessBuilder.execute(ProcessBuilder.java:312)
	at org.compiere.process.MigrationFromXML.applyMigration(MigrationFromXML.java:183)
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:163)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)

<Step SeqNo="750" StepType="AD">
<PO AD_Table_ID="107" Action="U" Record_ID="102105" Table="AD_Field">
<Data AD_Column_ID="181" Column="SeqNo" oldValue="790">800</Data>
</PO>
</Step>

https://github.com/search?q=org%3Aadempiere+path%3A%2F%5Exml%5C%2Fmigration%5C%2F%2F+102105+&type=code

===========> MigrationFromXML.process: Loading Migration from XML failed. [450]
org.adempiere.exceptions.AdempiereException: Loading migration from /home/edwin/workspace/erpcya/LVE/xml/migration/2030_Allow_Over_Payment_Invoice.xml failed.
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:167)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:120)
	at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:610)
	at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:360)
caused by: org.adempiere.exceptions.AdempiereException: Process failed during execution Error:  Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 750; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 750; Type: AD. Step 750, Record 102105 was not found in table Field (107).
	at org.eevolution.services.dsl.ProcessBuilder.execute(ProcessBuilder.java:312)
	at org.compiere.process.MigrationFromXML.applyMigration(MigrationFromXML.java:183)
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:163)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)

<Step SeqNo="760" StepType="AD">
<PO AD_Table_ID="107" Action="U" Record_ID="102110" Table="AD_Field">
<Data AD_Column_ID="181" Column="SeqNo" oldValue="800">810</Data>
</PO>
</Step>

https://github.com/search?q=org%3Aadempiere+path%3A%2F%5Exml%5C%2Fmigration%5C%2F%2F+102110+&type=code

===========> MigrationFromXML.process: Loading Migration from XML failed. [450]
org.adempiere.exceptions.AdempiereException: Loading migration from /home/edwin/workspace/erpcya/LVE/xml/migration/2030_Allow_Over_Payment_Invoice.xml failed.
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:167)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:120)
	at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:610)
	at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:360)
caused by: org.adempiere.exceptions.AdempiereException: Process failed during execution Error:  Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 760; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 760; Type: AD. Step 760, Record 102110 was not found in table Field (107).
	at org.eevolution.services.dsl.ProcessBuilder.execute(ProcessBuilder.java:312)
	at org.compiere.process.MigrationFromXML.applyMigration(MigrationFromXML.java:183)
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:163)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)

<Step SeqNo="770" StepType="AD">
<PO AD_Table_ID="107" Action="U" Record_ID="102247" Table="AD_Field">
<Data AD_Column_ID="181" Column="SeqNo" oldValue="810">820</Data>
</PO>
</Step>

https://github.com/search?q=org%3Aadempiere+path%3A%2F%5Exml%5C%2Fmigration%5C%2F%2F+102247+&type=code

===========> MigrationFromXML.process: Loading Migration from XML failed. [450]
org.adempiere.exceptions.AdempiereException: Loading migration from /home/edwin/workspace/erpcya/LVE/xml/migration/2030_Allow_Over_Payment_Invoice.xml failed.
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:167)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:120)
	at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:610)
	at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:360)
caused by: org.adempiere.exceptions.AdempiereException: Process failed during execution Error:  Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 770; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 770; Type: AD. Step 770, Record 102247 was not found in table Field (107).
	at org.eevolution.services.dsl.ProcessBuilder.execute(ProcessBuilder.java:312)
	at org.compiere.process.MigrationFromXML.applyMigration(MigrationFromXML.java:183)
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:163)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)

<Step SeqNo="1460" StepType="AD">
<PO AD_Table_ID="107" Action="U" Record_ID="100173" Table="AD_Field">
<Data AD_Column_ID="181" Column="SeqNo" oldValue="710">730</Data>
</PO>
</Step>

https://github.com/search?q=org%3Aadempiere+path%3A%2F%5Exml%5C%2Fmigration%5C%2F%2F+100173+&type=code

===========> MigrationFromXML.process: Loading Migration from XML failed. [450]
org.adempiere.exceptions.AdempiereException: Loading migration from /home/edwin/workspace/erpcya/LVE/xml/migration/2030_Allow_Over_Payment_Invoice.xml failed.
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:167)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:120)
	at org.compiere.apps.ProcessCtl.startProcess(ProcessCtl.java:610)
	at org.compiere.apps.ProcessCtl.run(ProcessCtl.java:360)
caused by: org.adempiere.exceptions.AdempiereException: Process failed during execution Error:  Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; Step: 1460; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001070 - Allow Over Payment Invoice - 3.9.4 (LVE) ; 1460: 770; Type: AD. Step 1460, Record 100173 was not found in table Field (107).
	at org.eevolution.services.dsl.ProcessBuilder.execute(ProcessBuilder.java:312)
	at org.compiere.process.MigrationFromXML.applyMigration(MigrationFromXML.java:183)
	at org.compiere.process.MigrationFromXML.lambda$0(MigrationFromXML.java:163)
	at org.compiere.util.Trx.run(Trx.java:529)
	at org.compiere.util.Trx.run(Trx.java:497)
	at org.compiere.process.MigrationFromXML.loadFile(MigrationFromXML.java:141)
	at org.compiere.process.MigrationFromXML.loadXML(MigrationFromXML.java:109)
	at org.compiere.process.MigrationFromXML.doIt(MigrationFromXML.java:50)
	at org.compiere.process.SvrProcess.process(SvrProcess.java:176)
	at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:129)
	at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:176)

@EdwinBetanc0urt EdwinBetanc0urt marked this pull request as draft January 4, 2025 01:37
@EdwinBetanc0urt EdwinBetanc0urt marked this pull request as ready for review January 4, 2025 01:56
@carlosaparadam carlosaparadam merged commit 6069f7e into adempiere:master Jan 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants