|
|
|
@ -882,17 +882,13 @@
|
|
|
|
|
ldpn.stock_article_id AS stockArticleId, |
|
|
|
|
ldpn.parcel_list_id AS parcelListId, |
|
|
|
|
ldpl.firsts AS firsts, |
|
|
|
|
ldpl.warehouse AS warehouse, |
|
|
|
|
ldpl.order_code AS orderCode, |
|
|
|
|
ldpl.service_number AS serviceNumber, |
|
|
|
|
ldpl.brand_name AS brandName, |
|
|
|
|
ldpn.quantity AS quantity, |
|
|
|
|
ldpn.hand_quantity AS handQuantity, |
|
|
|
|
ldpn.quantity AS number, |
|
|
|
|
ldpn.delivery_quantity AS deliveryQuantity, |
|
|
|
|
ldpn.outbound_quantity AS outboundQuantity, |
|
|
|
|
ldpn.signin_quantity AS signinQuantity, |
|
|
|
|
(ldpn.hand_quantity - ldpn.delivery_quantity) AS reservationNum |
|
|
|
|
(ldpn.hand_quantity - ldpn.delivery_quantity) AS reservationNum, |
|
|
|
|
(ldpn.hand_quantity - ldpn.delivery_quantity) AS maxPlanNum |
|
|
|
|
FROM logpm_distribution_stock_article AS ldsa |
|
|
|
|
LEFT JOIN logpm_distribution_parcel_list AS ldpl ON ldsa.id = ldpl.stock_article_id |
|
|
|
|
LEFT JOIN logpm_distribution_parcel_number AS ldpn ON ldpn.parcel_list_id = ldpl.id |
|
|
|
|