Difference between revisions of "Plugin: Alt OrderLine"
From iDempiere en
m (→Continuation) |
|||
| Line 25: | Line 25: | ||
*HEADER#CONSOLIDATE_SAME_LINE will group only those that have same qtys. | *HEADER#CONSOLIDATE_SAME_LINE will group only those that have same qtys. | ||
**For example: | **For example: | ||
| − | **Drum A - 100 | + | **Drum A - Qty=100 meters |
| − | **Drum A - 100 | + | **Drum A - Qty=100 meters |
*Will result in: | *Will result in: | ||
| − | **2 X Drum A - 100 | + | **2 X Drum A - Qty=100 meters |
[[File:AltCONSOLIDATE.png|270px|right]] | [[File:AltCONSOLIDATE.png|270px|right]] | ||
[[File:AltConsolidated.png|400px|right]] | [[File:AltConsolidated.png|400px|right]] | ||
| + | |||
==Screenshots of Examples== | ==Screenshots of Examples== | ||
*See screen above of normal OrderLine tab showing source that has two lines of similar products and similar qtys (2 sets of screws at qty=8) | *See screen above of normal OrderLine tab showing source that has two lines of similar products and similar qtys (2 sets of screws at qty=8) | ||
Revision as of 18:14, 7 December 2015
- Creator: Red1 (talk) - RED1.org
- Current Version: 2.1
- License: GPLv2 - Free as in Freedom not Free Lunch
- Source: BitBucket
- Plugin: alt.orderlineplugin & 2Pack
- Forum: red1.org
- Sponsor: AulerSipel.
Continuation
- This project is a separate plugin and continuation of Plugin:_Alternative_Output.
- Use that plugin if you just want a simple display and control of alternative output.
- This plugin here has additional CONSOLIDATE and CONSOLIDATE_SAME_LINE output
- Again, what is vital is that this is a pure separate non impact to core plugin with no meta-model or design entanglement. Everything follows the Java and OSGi concept of Object-Oriented componentisation with loose coupling.
Tab Model
- The extra tab model is same as C_OrderLine with each line for each display output row.
- Same as previous plugin, it has simplified fields.
- C_ALTOrderLine parent key is C_Order_ID, it can have many to one C_Order parent.
Hash Formatting
- Similar to previous plugin, it uses hash # character in BOM parent description box
- HEADER#CONSOLIDATE will take any similar product lines into one with its qty value summed up
- HEADER#CONSOLIDATE_SAME_LINE will group only those that have same qtys.
- For example:
- Drum A - Qty=100 meters
- Drum A - Qty=100 meters
- Will result in:
- 2 X Drum A - Qty=100 meters
Screenshots of Examples
- See screen above of normal OrderLine tab showing source that has two lines of similar products and similar qtys (2 sets of screws at qty=8)
- They will be used to test the plugin as shown on screens below.
- First the setting is to #CONSOLIDATE#
- Note the output has both lines merged with the qty = 16
- Next we test with #CONSOLIDATE_SAME_LINE
- Note that now the alternative orderline has maintained the qty = 8 but description is '2 X <product>'
TODO
- Next will be to prepare a PrintFormat option for Sales Order Window
Feedback
Please rate this plugin:
{{#w4grb_rate:Plugin:_Alt_OrderLine}}
<w4grb_ratinglist pagevotes idpage="Plugin:_Alt_OrderLine"/>
If you want to provide additional comments, please use the Discussion page.
