Opened 5 years ago
Last modified 5 years ago
#2338 addressed defect
Order failed for items with null distribution quantity
| Reported by: | dbmulg | Owned by: | dbmulg |
|---|---|---|---|
| Priority: | medium | Milestone: | |
| Component: | Public Website 2 | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
when ordered accession/inventory doesn't have the value for the distribution quantity (null in DB), PW order would fail to add this record into web order request item table, then skip rest of the order process (writing order shipping address, send email).
Change History (3)
comment:1 by , 5 years ago
| Status: | assigned → addressed |
|---|
comment:2 by , 5 years ago
On Lauras request, modified the web_order_request_item dataview on npgsdev and training to include
cast(coalesce(i.distribution_default_quantity, imp.distribution_default_quantity) as float) as quantity,
left join inventory_maint_policy imp on i.inventory_maint_policy_id = imp.inventory_maint_policy_id
comment:3 by , 5 years ago
Dataview change made on npgsWeb for production use at Laura's instruction.

change order.aspx.cs to fix the bug. checked into GIT.