Openbravo Issue Tracking System - POS2 |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0056270 | POS2 | POS | public | 2024-08-17 09:51 | 2024-08-19 11:15 |
|
Reporter | sreehari | |
Assigned To | sreehari | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | Pre packaging ( pi ) |
Regression date | 2024-08-16 |
Regression introduced in release | pi |
Regression introduced by commit | https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2732/diffs#d3700544a6538284c53af61d2572f89af485c63c_35_47 [^] |
Triggers an Emergency Pack | No |
|
Summary | 0056270: The Sales Representation saved as null in shipment and invoice lines throws FK exception |
Description | When completing a order with more than 1 line the Sales Representative for the lines are set as null as per the regression commit.
Which then causes the FK exception in m_inoutline & c_invoiceline for Salesrep_ID=null
|
Steps To Reproduce | 1.Complete a order with more than 1 lines
2.Error while importing is created |
Proposed Solution | Add null checks before setting the salesRep in m_inoutline & c_invoiceline
- since when we have no sales rep in general we wont be setting the sales rep and still the column value is null
- since we set the salesRep_id value to be null it is set as "null" which throws exception with Foreign Key mismatch |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | defect | 0055749 | | closed | sreehari | The sales representative is being automatically added to a Verified Return when it should be empty. |
|
Attached Files | Screenshot 2024-08-17 at 1.21.16 PM.png (297,114) 2024-08-17 09:51 https://issues.openbravo.com/file_download.php?file_id=20096&type=bug |
|
Issue History |
Date Modified | Username | Field | Change |
2024-08-17 09:51 | sreehari | New Issue | |
2024-08-17 09:51 | sreehari | Assigned To | => sreehari |
2024-08-17 09:51 | sreehari | File Added: Screenshot 2024-08-17 at 1.21.16 PM.png | |
2024-08-17 09:51 | sreehari | Regression level | => Pre packaging ( pi ) |
2024-08-17 09:51 | sreehari | Regression date | => 2024-08-16 |
2024-08-17 09:51 | sreehari | Regression introduced in release | => pi |
2024-08-17 09:51 | sreehari | Regression introduced by commit | => https://gitlab.com/openbravo/product/pmods/org.openbravo.pos2/-/merge_requests/2732/diffs#d3700544a6538284c53af61d2572f89af485c63c_35_47 [^] |
2024-08-17 09:51 | sreehari | Triggers an Emergency Pack | => No |
2024-08-17 09:52 | sreehari | Relationship added | caused by 0055749 |
2024-08-17 09:52 | sreehari | Status | new => scheduled |
2024-08-19 10:54 | hgbot | Note Added: 0168207 | |
2024-08-19 11:15 | hgbot | Resolution | open => fixed |
2024-08-19 11:15 | hgbot | Status | scheduled => closed |
2024-08-19 11:15 | hgbot | Fixed in Version | => RR24Q4 |
2024-08-19 11:15 | hgbot | Note Added: 0168208 | |
2024-08-19 11:15 | hgbot | Note Added: 0168209 | |