Openbravo Issue Tracking System - Retail Modules | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0055312 | Retail Modules | Retail API | public | 2024-04-25 11:02 | 2024-05-17 09:29 |
Reporter | AgatheBertin | ||||
Assigned To | SABARINATH P | ||||
Priority | normal | Severity | major | Reproducibility | have not tried |
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 | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0055312: PRODUCT API - BOM - lineNo not set as mandatory but SQL error | ||||
Description | When trying to import a BOM in the product API, the lineNo is not set as mandatory, but there is a SQL error [{"client":"*","organization":"*","searchKey":"416720ABE","name":"chlore choc 1kg","description":"CHLORE CHOC 1KG PASTILLE 25G","upcEAN":"3491954167203ABE","uom":"Unit","productCategory":"Éclairage extérieur","taxCategory":"TVA normale","active":true,"productType":"I","generic":false,"stocked":true,"purchased":true,"billOfMaterials":true,"sold":true,"showCharactDesc":true,"scale":false,"showStock":true,"allowAnonymousSale":true,"groupedProduct":true,"deliveryModeInLayaway":"PickAndCarry","deliveryMode":"PickAndCarry","printDescription":true,"returnable":true,"volume":0,"weight":0,"editablePrice":true,"multiUPC":[{"code":"416721ABE","active":true}],"bom":[{"product":"014533","quantity":2},{"product":"182496","quantity":1,"price":10,"active":true,"lineNo":20}]}] | ||||
Steps To Reproduce | - integrate a product with a BOM - don't put the lineNo - SQL error ERROR: null value in column "line" violates not-null constraint Detail: Failing row contains (AB4EAAE982384443BD430103525BCF5B, 4AE32048B2F94E31B7E3F4EBCE923ECF, 0, Y, 2024-04-25 10:57:02.144, 6AF38E864DC94EA09599C9132663D139, 2024-04-25 10:57:02.144, 6AF38E864DC94EA09599C9132663D139, null, 2CE229BA7B974DA99CA2A36A5A9A5DC2, A608B9A177A941D4B1AFA0D3C64787BE, 2, null, P, null). | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | 2024-04-25_11h00_50.png (6,869) 2024-04-25 11:02 https://issues.openbravo.com/file_download.php?file_id=19701&type=bug | ||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-04-25 11:02 | AgatheBertin | New Issue | |||
2024-04-25 11:02 | AgatheBertin | Assigned To | => Triage Platform Conn | ||
2024-04-25 11:02 | AgatheBertin | File Added: 2024-04-25_11h00_50.png | |||
2024-04-25 11:02 | AgatheBertin | Triggers an Emergency Pack | => No | ||
2024-04-25 13:28 | adrianromero | Assigned To | Triage Platform Conn => Retail | ||
2024-04-26 09:14 | jorgewederago | Status | new => acknowledged | ||
2024-04-30 06:55 | SABARINATH P | Assigned To | Retail => SABARINATH P | ||
2024-04-30 06:55 | SABARINATH P | Status | acknowledged => scheduled | ||
2024-05-06 10:36 | hgbot | Note Added: 0164100 | |||
2024-05-08 07:10 | hgbot | Note Added: 0164303 | |||
2024-05-08 07:13 | hgbot | Note Added: 0164304 | |||
2024-05-08 07:13 | SABARINATH P | Note Deleted: 0164303 | |||
2024-05-08 07:14 | SABARINATH P | Note Deleted: 0164100 | |||
2024-05-17 09:29 | hgbot | Resolution | open => fixed | ||
2024-05-17 09:29 | hgbot | Status | scheduled => closed | ||
2024-05-17 09:29 | hgbot | Note Added: 0164737 | |||
2024-05-17 09:29 | hgbot | Note Added: 0164738 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|