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

Transforming HU in Handling Unit Editor #181

Closed
metas-mk opened this issue Feb 23, 2017 · 3 comments
Closed

Transforming HU in Handling Unit Editor #181

metas-mk opened this issue Feb 23, 2017 · 3 comments

Comments

@metas-mk
Copy link
Member

Is this a bug or feature request?

Feature Request.

What is the current behavior?

No Functionality to Transform existing Handling Units into other Handling Unit/ Packing Instruction Combinations in handling Unit Editor.

Which are the steps to reproduce?

Open Handling Unit Editor via Material Receipt. The existing Handling Unit opened cannot be transformed into other combinations.

What is the expected or desired behavior?

The old functionalities of split and merge shall be combined in one action that can be called via Action menu and takes one selected HU and additional variable action values (existing HU, new HU, new Packing Instruction, Qty to transfer) as Parameter. The Action always reduces the source HU by the given qty and transfers to the target HU (new or existing) with the given qty.

Possible action parms:
a) own Packaging material? If no then it's from the vendor and will be included in the Material receipt.
b) Existing HU (List of HU combinations of needed Level TU, LU depending on source Level)
c) new Packaging Material (List of valid Packaging Material for the given target Level)
d) The quantity that shall be transferred from source to target.

@metas-mk metas-mk added this to the 2017-09 milestone Feb 23, 2017
@teosarca teosarca self-assigned this Feb 24, 2017
@teosarca
Copy link
Member

I would suggest to create one action for each use case.
In that way it can be much more clear for everybody.

@metas-mk
Copy link
Member Author

metas-mk commented Feb 24, 2017

As spoken. From a User perspective, I would propose to just have 1 action for these use cases - "transform". The user just wants to change the existing config and should not have to think in advance which action she/ he hast to choose to achieve nearly the same thing bit with slight differences.

Talking about Material Receipt HU Editor here and only about the Use Cases needed there for Transformation. They can be valid for general Handling Unit Editor but are not focussing on those at the moment.
prerequisite: Handling Unit Editor. A Handling Unit line is selected. The selected line can be level CU or TU.

Use Case 1
HU level pure & new (CU:CU, TU:TU) Take out a specific qty from an existing HU and add to new same level HU.
Parameters: a) Selected HU, b) quantity, c0) Flag new CU? c1) Flag new TU? d) Packaging Material List (available HU Packaging Items depending on Level).
Result: --> Decrease the quantities of the selected HU from a) and create an HU (selection from d) planned ) with the given Parameters. The HU is then a new top level HU in the context.

Use Case 2
HU level mixed & new (CU:TU, TU:LU) Take out a specific qty from an existing HU and add to new higher Level HU.
Parameters: a) Selected HU, b) quantity, c1) Flag new TU? c2) Flag new LU? d) Packaging Material List (available HU Packaging Items depending on Level).
Result: --> Decrease the quantities of the selected HU from a) and create an HU (selection from d) planned ) with the given Parameters. The HU is then a new top level HU in the context.

Use Case 3
HU level mixed & new (CU:TU, TU:LU) Take out a specific qty from an existing HU and add to new higher Level HU.
Parameters: a) Selected HU, b) quantity, c1) Flag new TU? c2) Flag new LU? d) Packaging Material List (available HU Packaging Items depending on Level).
Result: --> Decrease the quantities of the selected HU from a) and create an HU (selection from d) planned ) with the given Parameters. The HU is then a new top level HU in the context.

teosarca added a commit to metasfresh/metasfresh that referenced this issue Feb 24, 2017
teosarca added a commit that referenced this issue Feb 24, 2017
teosarca added a commit that referenced this issue Feb 24, 2017
teosarca added a commit to metasfresh/metasfresh that referenced this issue Feb 25, 2017
teosarca added a commit to metasfresh/metasfresh that referenced this issue Feb 25, 2017
teosarca added a commit that referenced this issue Feb 25, 2017
teosarca added a commit that referenced this issue Feb 25, 2017
teosarca added a commit to metasfresh/metasfresh that referenced this issue Feb 27, 2017
teosarca added a commit to metasfresh/metasfresh that referenced this issue Feb 27, 2017
teosarca added a commit to metasfresh/metasfresh that referenced this issue Feb 27, 2017
…d fix

when validating if ctx matches, use the same algorithm that it's used by
"@CacheCtx"
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Feb 27, 2017
…eCtx"

(cherry picked from commit e10dfef)

this fix was originally made in metasfresh/metasfresh-webui-api-legacy#181 ModelCacheService.isExpired fix

FRESH-1531 #1036 Harmonize BL for ModelCacheService.IsExpired
teosarca added a commit to metasfresh/metasfresh that referenced this issue Feb 27, 2017
highlights:
* one place to create the class instance:
ProcessInfo.DocumentFieldAsCalloutField
* JavaProcess.currentInstance()
* more refactoring required for webui
teosarca added a commit that referenced this issue Feb 27, 2017
teosarca added a commit that referenced this issue Feb 27, 2017
teosarca added a commit that referenced this issue Feb 27, 2017
metas-ts added a commit that referenced this issue Mar 3, 2017
also reordered fields & methods

FRESH-1504 metasfresh/metasfresh#181 Transforming HU in Handling Unit
Editor
metas-ts added a commit that referenced this issue Mar 3, 2017
FRESH-1504 #181 Transforming HU in Handling Unit Editor
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 3, 2017
metas-ts added a commit that referenced this issue Mar 3, 2017
Also add a bit of javadoc and rearrange methods a bit

FRESH-1504 #181 Transforming HU in Handling
Unit Editor
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 3, 2017
FRESH-1504 metasfresh/metasfresh-webui-api-legacy#181 Transforming HU in Handling
Unit Editor
metas-ts added a commit that referenced this issue Mar 4, 2017
FRESH-1504 #181 Transforming HU in Handling
Unit Editor
@metas-lc metas-lc self-assigned this Mar 8, 2017
@metas-lc metas-lc closed this as completed Mar 8, 2017
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 9, 2017
metas-ts added a commit that referenced this issue Mar 9, 2017
FRESH-1504 #181 Transforming HU in Handling Unit Editor
metas-ts added a commit that referenced this issue Mar 9, 2017
FRESH-1504 #181 Transforming HU in Handling Unit Editor
metas-ts added a commit that referenced this issue Mar 9, 2017
FRESH-1504 #181 Transforming HU in Handling Unit Editor
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 9, 2017
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 10, 2017
also minor avadoc

FRESH-1504 metasfresh/metasfresh-webui-api-legacy#181 Transforming HU in Handling
Unit Editor
metas-ts added a commit that referenced this issue Mar 10, 2017
FRESH-1504 #181 Transforming HU in Handling Unit Editor
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 10, 2017
* unless existing-TU is aggregate, the CU is only "attached" to it
* also fixed a number of deprecation warnings

FRESH-1504 metasfresh/metasfresh-webui-api-legacy#181 Transforming HU in Handling
Unit Editor
FRESH-1682 metasfresh/metasfresh-webui-api-legacy#238 Attributes propagated on
everything in TU
metas-ts added a commit that referenced this issue Mar 10, 2017
FRESH-1504 #181 Transforming HU in Handling Unit Editor
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 13, 2017
* also renamed facade methods, because it's really not splitting all the
time

metasfresh/metasfresh-webui-api-legacy#181 FRESH-1504	Transforming HU in Handling
Unit Editor
metas-ts added a commit that referenced this issue Mar 13, 2017
#181 FRESH-1504	Transforming HU in Handling Unit Editor
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 13, 2017
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 13, 2017
* removed product and cuom params, because a CU has only one storage and
product and uom can therefore be found in that single storage
* move javadoc from webui to the actual methods that do the magic

FRESH-1504 metasfresh/metasfresh-webui-api-legacy#181 Transforming HU in Handling
Unit Editor
metas-ts added a commit that referenced this issue Mar 13, 2017
* removed product and cuom params, because a CU has only one storage and
product and uom can therefore be found in that single storage
* move javadoc from webui to the actual methods that do the magic

FRESH-1504 #181 Transforming HU in Handling
Unit Editor
metas-ts added a commit that referenced this issue Mar 14, 2017
FRESH-1504 #181 Transforming HU in Handling Unit Editor
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 14, 2017
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 14, 2017
unit tests are green, but need to add more

FRESH-1504 metasfresh/metasfresh-webui-api-legacy#181 Transforming HU in Handling
Unit Editor
metas-ts added a commit to metasfresh/metasfresh that referenced this issue Mar 14, 2017
FRESH-1504 metasfresh/metasfresh-webui-api-legacy#181 Transforming HU in Handling
Unit Editor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants