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

Create Missing M_Cost records on the fly #3238

Closed
metas-ts opened this Issue Dec 20, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@metas-ts
Member

metas-ts commented Dec 20, 2017

Is this a bug or feature request?

enhancement

What is the current behavior?

If for whatever reason M_Cost records are missing, you might be something like this, e.g. when closing a production order:
image

The problem is that aparently in some demo instances, we have exactly that situation
Actually, they should be created when a new product is created, but it seems there are caes when we have a product, but no accompanying M_Cost

What is the expected or desired behavior?

the system should not throw this error at the user, but create the record on the fly

@metas-ts metas-ts self-assigned this Dec 20, 2017

@teosarca teosarca changed the title from Create Missing C_Most records on the fly to Create Missing M_Cost records on the fly Dec 20, 2017

metas-ts added a commit that referenced this issue Dec 20, 2017

@metas-ts

This comment has been minimized.

Show comment
Hide comment
@metas-ts

metas-ts Dec 20, 2017

Member

@teosarca M_Cost, C_Cost, where's the difference ;-)

Member

metas-ts commented Dec 20, 2017

@teosarca M_Cost, C_Cost, where's the difference ;-)

@metas-ts

This comment has been minimized.

Show comment
Hide comment
@metas-ts

metas-ts Dec 20, 2017

Member

note to IT: you can e.g. delete all M_Cost using delete from m_cost then when e.g. closing a PP_Order, those there were requred will reappear

Member

metas-ts commented Dec 20, 2017

note to IT: you can e.g. delete all M_Cost using delete from m_cost then when e.g. closing a PP_Order, those there were requred will reappear

@metas-ts metas-ts removed their assignment Jan 5, 2018

metas-ts added a commit that referenced this issue Jan 5, 2018

update releaseNotes
[#768](metasfresh/metasfresh-webui-api#768)
Picking Tray Clearing: packing HUs: generate shipper's package label
[#3281](#3281)
C_Tax.ValidFrom bug
[#3272](#3272) Provide
Periods for 2018
[#741](metasfresh/metasfresh-webui-api#741)
WebUI window C_Printing_Queue broken
[#769](metasfresh/metasfresh-webui-api#769)
New context variable for isWebUI
[#764](metasfresh/metasfresh-webui-api#764)
Receipt candidates: HU editor: cannot call Transform for a CU
[#3237](#3237) New
Document "Source of Supply"
[#1465](metasfresh/metasfresh-webui-frontend#1465)
frontend: Processes: when calling a process frontend shall provide which
are the selected rows in the left/right view
[#3230](#3230) Pharma:
import prices
[#763](metasfresh/metasfresh-webui-api#763)
Picking Tray Clearing: packing HUs: Add to Transportation Order, Ship
and Invoice action
[#2822](#2822) Empty
Country in Price List not working
[#3238](#3238) Create
Missing M_Cost records on the fly
[#1752](#1752) System
Element overwrite on Window Field
[#3233](#3233) WebUI:
Role permission constraints missing in Subtabs
[#757](metasfresh/metasfresh-webui-api#757)
elasticsearch shall use slf4j instead of log4j
[#752](metasfresh/metasfresh-webui-api#752)
Picking Tray Clearing: picking slot filter no results
[#3227](#3227) Attachment
related perf problem in swing client
[#3155](#3155) Create
special pharma import product table
[#3225](#3225) Error on
unclosing a "manually" created PPOrder
[#3222](#3222) refactor
trx event listeners
[#758](metasfresh/metasfresh-webui-api#758)
Picking Tray Clearing: process to take out an HU and add it to existing
HU
[#760](metasfresh/metasfresh-webui-api#760)
Picking Tray Clearing: process to take out an HU and add it to new HU

@cristinamghita cristinamghita self-assigned this Jan 11, 2018

@cristinamghita

This comment has been minimized.

Show comment
Hide comment
@cristinamghita

cristinamghita Jan 11, 2018

Member

Results of IT

Tested on webui

  • Delete from table M_Cost all records
  • Open window Produktionsaufträge and choose an production order
  • Close that order
  • No error is shown OK
  • 4 records were created in M_Cost OK
Member

cristinamghita commented Jan 11, 2018

Results of IT

Tested on webui

  • Delete from table M_Cost all records
  • Open window Produktionsaufträge and choose an production order
  • Close that order
  • No error is shown OK
  • 4 records were created in M_Cost OK
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment