Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0055312
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APImajorhave not tried2024-04-25 11:022024-04-30 06:55
ReporterAgatheBertinView Statuspublic 
Assigned ToSABARINATH P 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0055312: PRODUCT API - BOM - lineNo not set as mandatory but SQL error

DescriptionWhen 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).
TagsNo tags attached.
Attached Filespng file icon 2024-04-25_11h00_50.png [^] (6,869 bytes) 2024-04-25 11:02

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- 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


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker