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

Data Migration for Data Entry #5257

Open
metas-ts opened this issue May 31, 2019 · 1 comment
Open

Data Migration for Data Entry #5257

metas-ts opened this issue May 31, 2019 · 1 comment

Comments

@metas-ts
Copy link
Member

Is this a bug or feature request?

FR

What is the current behavior?

DataEnty data can be entered via the UI

What is the expected or desired behavior?

There should be an import process for data-entry data

Rough concept

  • Use our existing import framework (import processor implementation, I_DataEntry_Record table)
  • It's only about data-entry records; not the data-entry layout
  • so the import process needs to look up (unless ofc they are directly imported)
    • AD_Window_ID - or lookup via InternalName
    • Record_ID - lookup via ExternalId (if exists) or Value (if exists)
    • AD_Table_ID - lookup by finding the window's "main tab's" AD_Table_ID
    • DataEntry_Subtab_ID - lookup via name
    • DataEntry_Field_ID - lookup via Name
  • in addition to these, the import table needs to contain
    • field type
    • ...consider to have one "typed" field value column (FieldValueString, FieldValueNumber etc) for each value type
  • When doing the actual import, aggregate the I_DataEntry_Record records by I_DataEntry_Subtab_ID, create one de.metas.dataentry.data.DataEntryRecord instance per sub-tab-id and store them via the DataEntryRecordRepository
teosarca added a commit that referenced this issue Jun 13, 2019
recognize Number fields

#5257
teosarca added a commit that referenced this issue Jun 13, 2019
@teosarca teosarca mentioned this issue Jun 13, 2019
teosarca added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Jun 14, 2019
teosarca added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Jun 14, 2019
teosarca added a commit that referenced this issue Jun 14, 2019
teosarca added a commit that referenced this issue Jun 14, 2019
teosarca added a commit that referenced this issue Jun 14, 2019
teosarca added a commit that referenced this issue Jun 14, 2019
teosarca added a commit that referenced this issue Jun 14, 2019
avoid using ITableRecordReference

#5257
teosarca added a commit that referenced this issue Jun 14, 2019
when reporting error, also invalidate the cache, else webui won't show the new values

#5257
teosarca added a commit that referenced this issue Jun 14, 2019
teosarca added a commit that referenced this issue Jun 14, 2019
teosarca added a commit that referenced this issue Jun 14, 2019
teosarca added a commit that referenced this issue Jun 18, 2019
teosarca added a commit that referenced this issue Jun 18, 2019
teosarca added a commit that referenced this issue Jun 18, 2019
teosarca added a commit that referenced this issue Jun 18, 2019
teosarca added a commit that referenced this issue Jun 21, 2019
teosarca added a commit that referenced this issue Jul 3, 2019
avoid logging the number conversion error because it's flooding the console

#5257
metas-ts added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Jul 3, 2019
metas-ts added a commit that referenced this issue Jul 3, 2019
metas-ts added a commit that referenced this issue Jul 4, 2019
teosarca added a commit that referenced this issue Jul 4, 2019
metas-ts added a commit that referenced this issue Jul 8, 2019
  * [#5257](#5257) Data Migration for Data Entry
  * [#5353](#5353) Enable "Bank" import
  * [#85](metasfresh/metasfresh-e2e-legacy#85) Create new Packing Instruction / Packing Instruction Version
  * [#134](metasfresh/metasfresh-e2e-legacy#134) Create credit memo price difference for sales invoice
  * [#135](metasfresh/metasfresh-e2e-legacy#135) Create credit memo deliver difference for sales invoice
  * [#152](metasfresh/metasfresh-e2e-legacy#152) Change shipment date and date ready in shipment schedule
  * [#188](metasfresh/metasfresh-e2e-legacy#188) move defunct specs into dedicated folder
  * [#189](metasfresh/metasfresh-e2e-legacy#189) Create Nachbelastung Mengendifferenz for sales invoice
  * [#190](metasfresh/metasfresh-e2e-legacy#190) Create Adjustment Charge (Nachbelastung Preisdifferenz) for sales invoice
  * [#1740](metasfresh/metasfresh-webui-frontend-legacy#1740) email Editor Adress Lookup behavior
  * [#5346](#5346) Pricing Condition fixes
  * [#2292](metasfresh/metasfresh-webui-frontend-legacy#2292) Doubleclick does not work on mobile (iOS)
  * [#2308](metasfresh/metasfresh-webui-frontend-legacy#2308) Dev cypress run hangs
teosarca added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Jul 11, 2019
teosarca added a commit that referenced this issue Jul 11, 2019
teosarca added a commit to metasfresh/metasfresh-webui-api-legacy that referenced this issue Jul 11, 2019
teosarca added a commit that referenced this issue Jul 11, 2019
@rajeshkannan1969
Copy link

Can this be utilized for internal use transactions upload datewise

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

3 participants