[fix] Get serial nos using FIFO in Return Delivery Note
This commit is contained in:
parent
fcc4021e44
commit
f33787a706
@ -300,7 +300,7 @@ def get_serial_nos_by_fifo(args, item_doc):
|
|||||||
order by timestamp(purchase_date, purchase_time) asc limit %(qty)s""", {
|
order by timestamp(purchase_date, purchase_time) asc limit %(qty)s""", {
|
||||||
"item_code": args.item_code,
|
"item_code": args.item_code,
|
||||||
"warehouse": args.warehouse,
|
"warehouse": args.warehouse,
|
||||||
"qty": cint(args.qty)
|
"qty": abs(cint(args.qty))
|
||||||
}))
|
}))
|
||||||
|
|
||||||
def get_actual_batch_qty(batch_no,warehouse,item_code):
|
def get_actual_batch_qty(batch_no,warehouse,item_code):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user