WSH Commercial Invoice

Description

Categories
Enginatics
DB package
WSH_WSHRDINV_XMLP_PKG
Repository
GitHub
Shipping commercial invoice report showing delivery details including shipped items, quantities, unit costs, extended costs, ship-from/ship-to addresses, freight information, and bill of lading details.
Blitz version of the Oracle standard Commercial Invoice (XML) concurrent program WSHRDINV_XML.

SQL 263 lines

Parameters 10

ParameterTypeList of values SQL
Trip StopLOV Oracle
wnd.delivery_id in (select wdl.delivery_id from wsh_delivery_legs wdl where wdl.pick_up_stop_id=:trip_stop_id or wdl.drop_off_stop_id=:trip_stop_id)
Stop Planned Depart Date (Low)Date
wnd.delivery_id in (select wdl.delivery_id from wsh_delivery_legs wdl where wdl.pick_up_stop_id in (select wts.stop_id from wsh_trip_stops wts where wts.planned_departure_date>=:departure_date_from))
Stop Planned Depart Date (High)Date
wnd.delivery_id in (select wdl.delivery_id from wsh_delivery_legs wdl where wdl.pick_up_stop_id in (select wts.stop_id from wsh_trip_stops wts where wts.planned_departure_date<:departure_date_to+1))
Freight CarrierLOV Oracle
wnd.ship_method_code=:freight_carrier
WarehouseLOV Oracle
wdd.organization_id=:warehouse
Delivery NameLOV Oracle
wnd.delivery_id=:delivery_name
Currency CodeLOV Oracle
nvl(wnd.currency_code,wdd.currency_code)=:currency_code
Item DisplayLOV Oracle
DFF DisplayLOV
select
xxen_util.dff_columns(p_table_name=>'wsh_new_deliveries',p_table_alias=>'wnd',p_column_name_prefix=>'Delivery: ',p_display_mode=>:dff_display,p_scalar_subquery=>'N')
from
dual
Print Customer ItemLOV Oracle