-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
fcf188a
commit 37c40e8
Showing
3 changed files
with
359 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 36 additions & 0 deletions
36
...re/5674689_sys_gh14444_Adjustments_To_M_ShipperTransportation_Delivery_Instructions_V.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
DROP VIEW M_ShipperTransportation_Delivery_Instructions_V | ||
; | ||
|
||
CREATE OR REPLACE VIEW M_ShipperTransportation_Delivery_Instructions_V | ||
AS | ||
SELECT di.documentno, | ||
di.m_shippertransportation_id, | ||
dp.m_delivery_planning_id, | ||
dp.m_sectioncode_id, | ||
di.docstatus, | ||
di.datedoc, | ||
di.c_bpartner_location_loading_id, | ||
di.loadingdate, | ||
di.c_bpartner_location_delivery_id, | ||
di.deliverydate, | ||
di.c_incoterms_id, | ||
di.incotermlocation, | ||
di.m_meansoftransportation_id, | ||
sp.M_Product_ID, | ||
sp.m_locator_id, | ||
sp.actualloadqty as plannedloadedquantity, | ||
sp.actualdischargequantity as planneddischargequantity, | ||
di.created, | ||
di.createdby, | ||
sp.m_shippertransportation_id AS M_Delivery_Planning_Delivery_Instructions_V_ID, | ||
di.updated, | ||
di.updatedby, | ||
di.isactive, | ||
di.ad_org_id, | ||
di.ad_client_id | ||
FROM M_ShipperTransportation di | ||
JOIN M_ShippingPackage sp | ||
ON di.m_shippertransportation_id = sp.m_shippertransportation_id | ||
JOIN M_Delivery_Planning dp ON di.M_Delivery_Planning_id = dp.M_Delivery_Planning_id | ||
; | ||
|
Oops, something went wrong.