Bug 22098: (QA follow-up) Improving documentation
authorKatrin Fischer <katrin.fischer.83@web.de>
Sun, 22 Mar 2020 14:06:35 +0000 (15:06 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 24 Mar 2020 10:55:59 +0000 (10:55 +0000)
commit817e795df793e85f7238f280ae573db2014c9583
treef9330662d4fa39d287d793f8983d3bda2fd0eb10
parentae89a44a374a7ab2585713eeedc2916a1c8f01f9
Bug 22098: (QA follow-up) Improving documentation

Improves the documentation of the script a bit, but makes one
important change:

-If no prefix is submitted, or prefix does not contain only
-numbers, it returns the inserted code (= keep a field unchanged)
+If no prefix is submitted, or the prefix does contain only
+numbers, it returns the inserted code (= keep the field unchanged).

To test:
- Add an authorised INVENTORY value with 2020 as prefix
- After linking the stocknumberAV.pl to the 952$i in the frameworks
- Edit an item
- Add 2020 in the stocknumber field
- Trigger plugin
- Verify nothing happens

If the prefix contains only numbers... nothing happens.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
cataloguing/value_builder/stocknumberAV.pl