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 1080 sequence 81001020. #62

Conversation

EdwinBetanc0urt
Copy link
Contributor

Import the Add Smart Browse Generate Debits By Currency Rate xml file generate errors:

<Step SeqNo="420" StepType="AD">
<PO AD_Table_ID="53224" Action="U" Record_ID="50231" Table="AD_Browse">
<Data AD_Column_ID="57995" Column="EntityType" oldValue="DMS">C</Data>
</PO>

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

===========> MigrationFromXML.process: Loading Migration from XML failed. [68]
org.adempiere.exceptions.AdempiereException: Loading migration from /home/edwin/workspace/erpcya/LVE/xml/migration/1080_Add_Smart_Browse_Generate_Debits_By_Currency_Rate.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 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 420; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 420; Type: AD. Step 420, Record 50231 was not found in table Smart Browse (53224).
	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="1320" StepType="AD">
<PO AD_Table_ID="452" Action="U" Record_ID="54683" Table="AD_TreeNodeMM">
<Data AD_Column_ID="6161" Column="Node_ID" oldValue="54683">54683</Data>
<Data AD_Column_ID="6157" Column="SeqNo" oldValue="0">1</Data>
<Data AD_Column_ID="6160" Column="AD_Tree_ID" oldValue="10">10</Data>
</PO>
</Step>

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

===========> MigrationApply.process: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1320; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1320; Type: AD. Step 1320, Record 54683 was not found in table Tree Node MM (452). [94]
org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1320; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1320; Type: AD. Step 1320, Record 54683 was not found in table Tree Node MM (452).
	at org.compiere.model.MMigration.apply(MMigration.java:184)
	at org.compiere.process.MigrationApply.doIt(MigrationApply.java:53)
	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)
	at java.base/java.lang.Thread.run(Thread.java:829)
caused by: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1320; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1320; Type: AD. Step 1320, Record 54683 was not found in table Tree Node MM (452).
	at org.compiere.model.MMigrationStep.bailout(MMigrationStep.java:278)
	at org.compiere.model.MMigrationStep.applyPO(MMigrationStep.java:630)
	at org.compiere.model.MMigrationStep.apply(MMigrationStep.java:235)
	at org.compiere.model.MMigration.apply(MMigration.java:157)
	at org.compiere.process.MigrationApply.doIt(MigrationApply.java:53)
	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)

<Step SeqNo="1460" StepType="AD">
<PO AD_Table_ID="452" Action="U" Record_ID="54724" Table="AD_TreeNodeMM">
<Data AD_Column_ID="6161" Column="Node_ID" oldValue="54724">54724</Data>
<Data AD_Column_ID="6157" Column="SeqNo" oldValue="14">15</Data>
<Data AD_Column_ID="6160" Column="AD_Tree_ID" oldValue="10">10</Data>
</PO>
</Step>

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

===========> MigrationApply.process: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1460; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1460; Type: AD. Step 1460, Record 54724 was not found in table Tree Node MM (452). [100]
org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1460; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1460; Type: AD. Step 1460, Record 54724 was not found in table Tree Node MM (452).
	at org.compiere.model.MMigration.apply(MMigration.java:184)
	at org.compiere.process.MigrationApply.doIt(MigrationApply.java:53)
	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)
	at java.base/java.lang.Thread.run(Thread.java:829)
caused by: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1460; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1460; Type: AD. Step 1460, Record 54724 was not found in table Tree Node MM (452).
	at org.compiere.model.MMigrationStep.bailout(MMigrationStep.java:278)
	at org.compiere.model.MMigrationStep.applyPO(MMigrationStep.java:630)
	at org.compiere.model.MMigrationStep.apply(MMigrationStep.java:235)
	at org.compiere.model.MMigration.apply(MMigration.java:157)
	at org.compiere.process.MigrationApply.doIt(MigrationApply.java:53)
	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)

<Step SeqNo="1540" StepType="AD">
<PO AD_Table_ID="452" Action="U" Record_ID="54764" Table="AD_TreeNodeMM">
<Data AD_Column_ID="6161" Column="Node_ID" oldValue="54764">54764</Data>
<Data AD_Column_ID="6157" Column="SeqNo" oldValue="999">1006</Data>
<Data AD_Column_ID="6160" Column="AD_Tree_ID" oldValue="10">10</Data>
</PO>
</Step>

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

===========> MigrationApply.process: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1540; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1540; Type: AD. Step 1540, Record 54764 was not found in table Tree Node MM (452). [117]
org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1540; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1540; Type: AD. Step 1540, Record 54764 was not found in table Tree Node MM (452).
	at org.compiere.model.MMigration.apply(MMigration.java:184)
	at org.compiere.process.MigrationApply.doIt(MigrationApply.java:53)
	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)
	at java.base/java.lang.Thread.run(Thread.java:829)
caused by: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1540; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1540; Type: AD. Step 1540, Record 54764 was not found in table Tree Node MM (452).
	at org.compiere.model.MMigrationStep.bailout(MMigrationStep.java:278)
	at org.compiere.model.MMigrationStep.applyPO(MMigrationStep.java:630)
	at org.compiere.model.MMigrationStep.apply(MMigrationStep.java:235)
	at org.compiere.model.MMigration.apply(MMigration.java:157)
	at org.compiere.process.MigrationApply.doIt(MigrationApply.java:53)
	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)

<Step SeqNo="1550" StepType="AD">
<PO AD_Table_ID="452" Action="U" Record_ID="54608" Table="AD_TreeNodeMM">
<Data AD_Column_ID="6161" Column="Node_ID" oldValue="54608">54608</Data>
<Data AD_Column_ID="6157" Column="SeqNo" oldValue="1010">1011</Data>
<Data AD_Column_ID="6160" Column="AD_Tree_ID" oldValue="10">10</Data>
</PO>

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

===========> MigrationApply.process: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1550; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1550; Type: AD. Step 1550, Record 54608 was not found in table Tree Node MM (452). [317]
org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1550; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1550; Type: AD. Step 1550, Record 54608 was not found in table Tree Node MM (452).
	at org.compiere.model.MMigration.apply(MMigration.java:184)
	at org.compiere.process.MigrationApply.doIt(MigrationApply.java:53)
	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)
	at java.base/java.lang.Thread.run(Thread.java:829)
caused by: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1550; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1550; Type: AD. Step 1550, Record 54608 was not found in table Tree Node MM (452).
	at org.compiere.model.MMigrationStep.bailout(MMigrationStep.java:278)
	at org.compiere.model.MMigrationStep.applyPO(MMigrationStep.java:630)
	at org.compiere.model.MMigrationStep.apply(MMigrationStep.java:235)
	at org.compiere.model.MMigration.apply(MMigration.java:157)
	at org.compiere.process.MigrationApply.doIt(MigrationApply.java:53)
	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)

<Step SeqNo="1560" StepType="AD">
<PO AD_Table_ID="452" Action="U" Record_ID="54624" Table="AD_TreeNodeMM">
<Data AD_Column_ID="6161" Column="Node_ID" oldValue="54624">54624</Data>
<Data AD_Column_ID="6157" Column="SeqNo" oldValue="1011">1012</Data>
<Data AD_Column_ID="6160" Column="AD_Tree_ID" oldValue="10">10</Data>
</PO>
</Step>

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

===========> MigrationApply.process: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1560; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1560; Type: AD. Step 1560, Record 54624 was not found in table Tree Node MM (452). [324]
org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1560; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1560; Type: AD. Step 1560, Record 54624 was not found in table Tree Node MM (452).
	at org.compiere.model.MMigration.apply(MMigration.java:184)
	at org.compiere.process.MigrationApply.doIt(MigrationApply.java:53)
	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)
	at java.base/java.lang.Thread.run(Thread.java:829)
caused by: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1560; Type: AD. Application failed: org.adempiere.exceptions.AdempiereException: Migration 81001020 - Add Smart Browse Generate Debits By Currency Rate - 3.9.4 (LVE) ; Step: 1560; Type: AD. Step 1560, Record 54624 was not found in table Tree Node MM (452).
	at org.compiere.model.MMigrationStep.bailout(MMigrationStep.java:278)
	at org.compiere.model.MMigrationStep.applyPO(MMigrationStep.java:630)
	at org.compiere.model.MMigrationStep.apply(MMigrationStep.java:235)
	at org.compiere.model.MMigration.apply(MMigration.java:157)
	at org.compiere.process.MigrationApply.doIt(MigrationApply.java:53)
	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)

@carlosaparadam carlosaparadam merged commit 0237d46 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