Openbravo Issue Tracking System - Openbravo ERP | ||||||||||||
View Issue Details | ||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||||
0041334 | Openbravo ERP | Z. Others | public | 2019-07-10 19:55 | 2019-07-26 09:41 | |||||||
Reporter | AtulOpenbravo | |||||||||||
Assigned To | AtulOpenbravo | |||||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | |||||||
Status | closed | Resolution | fixed | |||||||||
Platform | OS | 5 | OS Version | |||||||||
Product Version | ||||||||||||
Target Version | Fixed in Version | 3.0PR19Q4 | ||||||||||
Merge Request Status | ||||||||||||
Review Assigned To | vmromanos | |||||||||||
OBNetwork customer | No | |||||||||||
Web browser | ||||||||||||
Modules | Core | |||||||||||
Support ticket | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0041334: API Change:Delete obsolete db functions that have been deprecated | |||||||||||
Description | Following deprecated db functions could be safely removed with minor refactor at the places where they are used. m_get_offer_price m_get_offer_std_price m_get_offers_price ** For removing this candidate below refactor could be safely implemented. - C_CREATE_PINVOICE_FROM_OUTS (used v_priceActual directly as it was returned by db functions) - C_GENERATEPOFROMPROJECT, C_GENERATESOFROMPROJECT, C_GENERATESOFROMPROJECTORDER, C_GENERATESOFROMPROJECTPHASE, C_PROJECT_GENERATE, MRP_PURCHASEORDER, M_COPY_PRODUCT_TEMPLATE, (used v_PriceStd directly returned as it was returned by db functions.) - M_EXPLODEBOMNOTSTOCK (used M_BOM_PriceStd(CUR_BOM.M_ProductBOM_ID, v_PriceList_Version_ID) for v_gross_unit_price, v_price_actual and M_BOM_PriceList(CUR_BOM.M_ProductBOM_ID, v_PriceList_Version_ID) for v_gross_price_list) - M_INOUT_CREATEINVOICE (used v_PriceActual for v_PriceActual, v_LineNetAmt as v_PriceActual is directly returned by the db function) - M_INVEXPLODEBOMNOTSTOCK (Used M_BOM_PriceStd(CUR_BOM.M_ProductBOM_ID, v_PriceList_Version_ID)) - M_REQUISITION_CREATEPO (used COALESCE(Cur_Lines.PRICEACTUAL, pp.PRICESTD)) - UpdatePricesAndAmounts.java (used M_BOM_PriceStd(:productID, plv.id)) - M_BOM_PRICESTD(CL.M_PRODUCT_ID, M_GET_PRICELIST_VERSION(?, TO_DATE(?))) - ExpenseSOrder_data.xsql (Uses directly priceactual in insertCOrderline method) - RequisitionToOrder_data.xsql (Uses directly priceactual in insertCOrderline method) - GetPriceOffer_data.xsql (Uses directly priceStd in getOffersPriceCurrency method) m_get_offers_std_price: To remove this candidate below refactor could be safely implemented - CopyFromInvoiceData.getOffersStdPrice (uses only two parameters: priceStd & invoiceid) - CopyFromOrderData.getOffersStdPrice (uses only two parameters: priceStd & orderid) - GetPriceOffer_data.xsql (Uses directly priceStd in getOffersStdPriceCurrency method) | |||||||||||
Steps To Reproduce | - | |||||||||||
Proposed Solution | ||||||||||||
Additional Information | ||||||||||||
Tags | Approved | |||||||||||
Relationships |
| |||||||||||
Attached Files | ||||||||||||
Issue History | ||||||||||||
Date Modified | Username | Field | Change | |||||||||
2019-07-10 19:55 | AtulOpenbravo | New Issue | ||||||||||
2019-07-10 19:55 | AtulOpenbravo | Assigned To | => dmitry_mezentsev | |||||||||
2019-07-10 19:55 | AtulOpenbravo | OBNetwork customer | => No | |||||||||
2019-07-10 19:55 | AtulOpenbravo | Modules | => Core | |||||||||
2019-07-10 19:55 | AtulOpenbravo | Triggers an Emergency Pack | => No | |||||||||
2019-07-10 19:56 | AtulOpenbravo | Description Updated | bug_revision_view_page.php?rev_id=19077#r19077 | |||||||||
2019-07-10 20:01 | AtulOpenbravo | Description Updated | bug_revision_view_page.php?rev_id=19078#r19078 | |||||||||
2019-07-11 17:08 | dmitry_mezentsev | Tag Attached: Approved | ||||||||||
2019-07-11 17:08 | dmitry_mezentsev | Assigned To | dmitry_mezentsev => AtulOpenbravo | |||||||||
2019-07-16 14:16 | AtulOpenbravo | Relationship added | blocks 0040823 | |||||||||
2019-07-23 15:35 | vmromanos | Status | new => scheduled | |||||||||
2019-07-23 19:17 | AtulOpenbravo | Description Updated | bug_revision_view_page.php?rev_id=19185#r19185 | |||||||||
2019-07-23 19:18 | AtulOpenbravo | Note Added: 0113600 | ||||||||||
2019-07-24 17:09 | hgbot | Checkin | ||||||||||
2019-07-24 17:09 | hgbot | Note Added: 0113624 | ||||||||||
2019-07-24 17:09 | hgbot | Status | scheduled => resolved | |||||||||
2019-07-24 17:09 | hgbot | Resolution | open => fixed | |||||||||
2019-07-24 17:09 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/api-checks/rev/f18c6a305e39936d64d07980ae8b5b8437d1d5cc [^] | |||||||||
2019-07-26 09:41 | vmromanos | Review Assigned To | => vmromanos | |||||||||
2019-07-26 09:41 | vmromanos | Note Added: 0113669 | ||||||||||
2019-07-26 09:41 | vmromanos | Status | resolved => closed | |||||||||
2019-07-26 09:41 | vmromanos | Fixed in Version | => 3.0PR19Q4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|