Anonymous | Login
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Modules] Distribution Ordersmajorhave not tried2022-09-15 16:232022-10-14 14:16
Reporterazzeddine_meftohView Statuspublic 
Assigned ToAtulOpenbravo 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release

0050259: issue DO automatically when DO imported by API

Descriptionwhen importing a DO through the API with :
"IsAutomaticallyIssueStock": true,
preference “Auto Generate DO Reception Tasks after Issue”

preference “In-Transit Bin for Automatic Issue DO” set

Json :
"organization": "SMCP",
"isIssue": true,
"IsAutomaticallyIssueStock": true,
"documentNo": "AZZ551000000002823700",
"orderDate": "2022-09-12T00:00:00Z",
"scheduledDeliveryDate": "2022-09-12T00:00:00Z",
"warehouseIssue": "0960",
"warehouseReceipt": "0042",
"lines": [
"product": "3607171624294",
"operativeQuantity": 1,
"qtyIssued": 1

if i don't have stock on the issue warehouse for the product i get a success in the EDL but my DOi is not created

if i have 5 products in stock and i send "qtyIssued": 10 i get a DOi with just 5 products issued altough the used storage bin allows overissue

if i have enough stock the DOi is issued at 100% and the generated tasks are OK
Steps To Reproducedetails to reproduce in description section
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
hgbot (developer)
2022-09-21 19:40

Merge Request created: [^]
hgbot (developer)
2022-10-14 14:16

Directly closing issue as related merge request is already approved.

Repository: [^]
Changeset: ad3772f46867fc7ad6428c8dfe88a6e1990a6a61
Author: Atul Gaware <>
Date: 14-10-2022 14:07:17
URL: [^]

Fixed BUG-0050259: Issue DO automatically when DO imported by API

**Create Movement Line though product does not have enough stock,
if partial stock exists create lines with available stock, if
pendingqty exists or there is no stock then create movement lines
for the required quantity for product without attribute set, for
product with attribute set only create partial movements as per
stock available else do not create movements irrespective of the
overissue flag.
**Add pendingqty to the movementline created for partial stock
in case product has no attribute and bin has overissue inventory

M src/org/openbravo/distributionorder/actionHandler/
hgbot (developer)
2022-10-14 14:16

Repository: [^]
Changeset: 7e55c903fa362b7af518eb9def8a5aacca1d74cb
Author: Víctor Martínez Romanos <>
Date: 14-10-2022 14:09:27
URL: [^]

Related to ISSUE-50259: fixed code formatting

M src/org/openbravo/distributionorder/actionHandler/
hgbot (developer)
2022-10-14 14:16

Merge request merged: [^]

- Issue History
Date Modified Username Field Change
2022-09-15 16:23 azzeddine_meftoh New Issue
2022-09-15 16:23 azzeddine_meftoh Assigned To => Triage Omni WMS
2022-09-21 19:40 hgbot Note Added: 0141293
2022-09-21 19:42 AtulOpenbravo Status new => scheduled
2022-09-21 19:42 AtulOpenbravo Assigned To Triage Omni WMS => AtulOpenbravo
2022-10-14 14:16 hgbot Resolution open => fixed
2022-10-14 14:16 hgbot Status scheduled => closed
2022-10-14 14:16 hgbot Note Added: 0142086
2022-10-14 14:16 hgbot Note Added: 0142087
2022-10-14 14:16 hgbot Note Added: 0142088

Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker