Difference between revisions of "2Pack/RuleElementHandler"

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.
(Created page with '=Background= *This is part of the OSGI HengSin/2Pack module that is resolved during OSGI HengSin/Issues. *It is also reported in the Trunk [http://sourceforge.net/tracker…')
 
m (Successful Testing)
Line 16: Line 16:
 
*I successfully PackOut a Rule and then PackIn again.
 
*I successfully PackOut a Rule and then PackIn again.
 
*The following are images from the test.
 
*The following are images from the test.
[[Image:PackInLog.png|thumb|right|400px|The PackIn recorded a whopping success]]
+
[[Image:PackInLog.png|thumb|left|350px|The PackIn recorded a whopping success]]
[[Image:PackInRule.png|thumb|right|400px|The detail of the PackIn]]
+
[[Image:PackInRule.png|thumb|right|270px|The detail of the PackIn]]
 
[[Image:SampleRule.png|thumb|right|400px|This is the guinea pig used in the experiment]]
 
[[Image:SampleRule.png|thumb|right|400px|This is the guinea pig used in the experiment]]

Revision as of 20:06, 1 January 2011

Background

  • This is part of the OSGI HengSin/2Pack module that is resolved during OSGI HengSin/Issues.
  • It is also reported in the Trunk Bug Tracker.
  • The model changes submitted are applicable in both Trunk and OSGI HengSin. However the code changes are adapted for the OSGI project first. To apply to the Trunk will need a small adapting back to the legacy HandleRegistry in the Trunk.
The PackOut Details Tab added with Rule type to get the Rule record

Modifcations

  • As reported in kenai tracker i submitted some changes:
    • Add Rule as Type in PackOut Export Detail which resulted in DB change migration scripts for both oracle and PG.
    • Add Setter/Getter of new columns for AD_Rule in AD_Package_Exp_Detail done by running GenerateModel.java.
    • Created a new RuleElementHandling.java adapted from DynValRuleElementHandler.
  • The necessary changes to capture this new element resulted in some changes to other classes as submitted in the tracker there.
    • PackOutProcess
    • MPackageExpDetail

Successful Testing

  • I successfully PackOut a Rule and then PackIn again.
  • The following are images from the test.
The PackIn recorded a whopping success
The detail of the PackIn
This is the guinea pig used in the experiment