Skip to content

[Bug Report] MRP show a error #708

@yamelsenih

Description

@yamelsenih

Bug report

When is open a MRP window this throw a error

[Vue warn]: Error in callback for watcher "isLoadPanel": "TypeError: Cannot read property 'referencesList' of undefined"

found in

---> <MainPanelDesktop> at src/components/ADempiere/Panel/mainPanelDesktop.vue
       <MainPanel> at src/components/ADempiere/Panel/index.vue
         <ElTabPane> at packages/tabs/src/tab-pane.vue
           <ElTabs> at packages/tabs/src/tabs.vue
             <TabParent> at src/components/ADempiere/Tab/index.vue
               <ElMain> at packages/main/src/main.vue
                 <SplitArea>
                   <Split>
                     <ElContainer> at packages/container/src/main.vue
                       <Pane>
                         <SplitPane>
                           <ElAside> at packages/aside/src/main.vue
                             <SplitArea>
                               <Split>
                                 <ElContainer> at packages/container/src/main.vue
                                   <WindowView> at src/views/ADempiere/Window/index.vue
                                     <SummaryView> at src/views/ADempiere/Summary/index.vue... (1 recursive calls)
                                       <AppMain> at src/layout/components/AppMain.vue
                                         <Layout> at src/layout/index.vue
                                           <App> at src/App.vue
                                             <Root>
node_modules/vue/dist/vue.runtime.esm.js:619

Other error after it:

app.a9113b8a.js:1 References Load Error 500: org.postgresql.util.PSQLException: ERROR: column "m_attributesetinstance_id" does not exist
  Position: 526, SQL=SELECT DateStartSchedule,TypeMRP,AD_Org_ID,AD_Client_ID,DocStatus,Created,IsActive,Updated,DocumentNo,C_OrderLine_ID,Planner_ID,M_Requisition_ID,DateFinishSchedule,CreatedBy,DateConfirm,DateOrdered,DateSimulation,C_Order_ID,M_Warehouse_ID,Qty,PP_Order_ID,M_ForecastLine_ID,Version,IsRequiredDRP,DatePromised,DateStart,IsMPS,M_Product_ID,M_RequisitionLine_ID,OrderType,UpdatedBy,PP_MRP_ID,M_Forecast_ID,Description,PP_Order_BOMLine_ID,C_BPartner_ID,IsRequiredMRP,IsBOM,Priority,S_Resource_ID,IsPurchased,M_Product_Category_ID,M_AttributeSetInstance_ID,Name,Value,LowLevel,IsAvailable,DD_Order_ID,DD_OrderLine_ID,C_ProjectPhase_ID,C_Project_ID,C_ProjectTask_ID FROM RV_PP_MRP WHERE (UUID = ?)
org.postgresql.util.PSQLException: ERROR: column "m_attributesetinstance_id" does not exist
  Position: 526, SQL=SELECT DateStartSchedule,TypeMRP,AD_Org_ID,AD_Client_ID,DocStatus,Created,IsActive,Updated,DocumentNo,C_OrderLine_ID,Planner_ID,M_Requisition_ID,DateFinishSchedule,CreatedBy,DateConfirm,DateOrdered,DateSimulation,C_Order_ID,M_Warehouse_ID,Qty,PP_Order_ID,M_ForecastLine_ID,Version,IsRequiredDRP,DatePromised,DateStart,IsMPS,M_Product_ID,M_RequisitionLine_ID,OrderType,UpdatedBy,PP_MRP_ID,M_Forecast_ID,Description,PP_Order_BOMLine_ID,C_BPartner_ID,IsRequiredMRP,IsBOM,Priority,S_Resource_ID,IsPurchased,M_Product_Category_ID,M_AttributeSetInstance_ID,Name,Value,LowLevel,IsAvailable,DD_Order_ID,DD_OrderLine_ID,C_ProjectPhase_ID,C_Project_ID,C_ProjectTask_ID FROM RV_PP_MRP WHERE (UUID = ?).
(anonymous) @ app.a9113b8a.js:1

Steps to reproduce

  1. Open Purchase Order window
  2. Go to References Option
  3. Select MRP records

Screenshot or Gif(截图或动态图)

Peek 2021-04-01 03-19

Link to minimal reproduction(最小可在线还原demo)

https://demo-ui.erpya.com/#/fdb386e9-413e-4617-9d86-1a82557e857f/0/window/205?action=8b2bfc4c-99be-4708-a77a-787ece80b104&tabParent=0&tabChild=0

Expected behavior

A clear and concise description of what you expected to happen.

Other relevant information

  • Your OS:
  • Web Browser:
  • Node.js version:
  • adempiere-vue version:

Additional context

Add any other context about the problem here.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions