Beruflich Dokumente
Kultur Dokumente
Declare
< Variable declaration >
Begin
--Populate API parameters
--API Call
Package.Procedure( p_ => in parameter
Standard parameters x_ => out parameter
.
Specific Parameters);
Error Handling
End;
OE_HOLDS_PUB.Apply_Holds
•Specific parameters
p_order_tbl => list of order header id’s for which hold has
to be applied
p_hold_id => Type of hold that has to be applied
p_hold_until_date => Date upto which the hold has to be applied
p_hold_comment => hold comment
OE_HOLDS_PUB.Release_Holds
•Specific parameters
p_order_tbl => list of order header id’s for which hold has
to be released
p_hold_id => Type of hold that has to be released
p_hold_until_date => Date upto which the hold has to be released
p_hold_comment => hold comment
OE_CREDIT_PUB.Check_Available_Credit
•Specific parameters
OE_FND_ATTACHMENTS_PUB.Add_Attachment
•Specific parameters
p_entity_name => Value ‘ORDER HEADER’
or ’ORDER LINE’
p_pk1_value => Order header id
p_document_id => Document id
x_attachment_id => attachment id is returned
OE_FND_ATTACHMENTS_PUB.Add_Attachment
WSH_DELIVERY_DETAILS_PUB. Detail_to_Delivery
• Specific parameters
p_TabOfDelDets => Table of Delivery Detail ID’s
p_action => ‘ASSIGN’ or ‘UNASSIGN’
p_delivery_id => Delivery id to Unassign
p_delivery_name => Delivery Name to Unassign
WSH_DELIVERY_DETAILS_PUB. Split_Line
• Specific parameters
p_from_detail_id => Delivery Detail ID of the line to be Split.
x_new_detail_id => Delivery Detail ID of the new line
x_split_quantity => quantity allocated to the new Delivery Detail
WSH_DELIVERY_DETAILS_PUB.Update_Shipping_Attributes
• Specific parameters
p_changed_attributes=>Attributes of ChangedAttributesTabType
that are to be updated.
p_source_code => Code for source system which updates
wsh_delivery_details table
WSH_DELIVERY_DETAILS_PUB.Autocreate_Deliveries
• Specific parameters
p_line_rows=> Table of Delivery Details
x_del_rows=> Table of Deliveries
WSH_DELIVERY_DETAILS_PUB.Autocreate_Del_Trip
•Specific parameters
p_line_rows=> Table of Delivery Details
x_del_rows=> Table of Deliveries
WSH_DELIVERIES_PUB.Create_update_delivery
•Specific Parameters
p_action_code => values “CREATE” or “UPDATE”
p_delivery_info => Attributes of the delivery entity of type
Delivery_Pub_Rec_Type
p_delivery_name =>Name of delivery record being updated.
x_delivery_id => New Delivery id being created
x_name => New Delivery Name being created
WSH_DELIVERIES_PUB. Delivery_Action
•Actions
•PLAN/UNPLAN = > plan or unplan deliveries.
•WT-VOL=>Calculates weight and volume for the delivery
•CONFIRM => Ship Confirms Delivery
•PACK, RE-OPEN, IN-TRANSIT, CLOSE => Updates status of delivery
•ASSIGN-TRIP =>Assigns a trip to delivery
•UNASSIGN-TRIP => Unassigns Trip Form a delivery
•AUTOCREATE-TRIP => To Autocreate a Trip
•PICK_RELEASE => Releases Lines related to a delivery
•DELETE=>Deletes a delivery
WSH_DELIVERIES_PUB. Delivery_Action
Specific Parameters
p_action_code = > Action to be performed on Delivery
p_delivery_name => name of delivery that action is performed
p_trip_name = > Trip identifier for assignment of trip to delivery
p_asg_pickup_loc_code =>Stop location code for pickup assignment
p_asg_pickup_dep_date=>Stop location departure date for pickup assignment
p_asg_dropoff_loc_code=>Stop location code for dropoff assignment
p_asg_dropoff_dep_date=>Stop location departure date for dropoff assignment
p_sc_action_flag=>Ship Confirm option - S, B, T, A, C. Used when ship confirming a delivery.
p_sc_intransit_flag=>Ship Confirm set in-transit flag.
p_sc_close_trip_flag=>Ship Confirm close trip flag.
p_sc_create_bol_flag=>Ship Confirm create Bill of Lading flag
p_sc_stage_del_flag=>Ship Confirm create delivery for stage quantity flag
p_sc_trip_ship_method=>Ship Confirm trip ship method.
p_wv_override_flag =>Override flag for weight volume calculations.
x_trip_name => Name of autocreated trip.
WSH_FREIGHT_COSTS _PUB.Create_Update_Freight_Costs
•Enables you to create a new freight cost record or update an existing freight
cost
•Specific Parameters
•p_pub_freight_costs =>Attributes of the freight cost
entity of type PubFreightCostRecType
•p_action_code =>values ‘CREATE’ or ‘UPDATE.’
•x_freight_cost_id =>ID of new freight cost record being created.
WSH_FREIGHT_COSTS_PUB.Delete_Freight_Costs
•Enables you to create a new freight cost record or update an existing freight cost
•Specific Parameters
•p_pub_freight_costs =>Attributes of the freight cost
entity of type PubFreightCostRecType.
WSH_TRIPS_PUB.Create_Update_Trip
WSH_TRIPS_PUB.Trip_Action
•Actions
•PLAN/UNPLAN = > plan or unplan trips
•WT-VOL=>Calculates weight and volume for the trip
•PICK_RELEASE => Releases Lines related to a trip
•DELETE=>Deletes a trip
•Specific Parameters
•p_action_code => Specifies action on trip
•p_trip_id =>Trip ID of trip on which actions are being performed.
•p_trip_name =>Name of trip on which actions are being performed.
•p_wv_override_flag =>weight and volume re-calculations are done for
all deliveries on the trip
WSH_TRIP_STOPS_PUB.Create_Update_Stop
•Specific Parameters
•p_action_code => values “CREATE” or “UPDATE”
•p_stop_info=>Attributes of the stop entity of type
Trip_Stop_Pub_Rec_Type.
•p_trip_name =>Name of trip that is needed to be updated
•p_location_code =>stop location code of stop that is needed to be
updated.
•p_planned_dep_date => planned date of departure.
•x_stop_id =>stop ID of new stop record being created.
WSH_TRIP_STOP_PUB.Stop_Action
•Actions
•PLAN/UNPLAN = > plan or unplan stops
•ARRIVE/CLOSE=>update departure or arrival dates and to close a stop
•PICK_RELEASE => Releases Lines related to a stop
•DELETE=>Deletes a stop
•Specific Parameters
•p_action_code =>Specifies which of the actions API should perform.
•p_stop_id =>Stop ID of trip stop on which actions need to be performed.
•p_trip_name=>Trip name of trip stop on which actions need to be performed.
•p_stop_location_code=>Stop location code of trip stop on which actions need to
be performed.
•p_planned_dep_date=>Planned departure date of trip stop on which actions need
to be performed.
•p_actual_date =>Actual date of arrival/departure of trip stop.
•WSH_CONTAINER_PUB: Create_Container
Enables you to create a new container record.
•WSH_CONTAINER_PUB: Update_Container
Updates an existing container record.
•WSH_CONTAINER_PUB: Auto_Pack
Lets you autopack containers.
•WSH_CONTAINER_PUB: Container_Actions
Enables you to perform actions on a container.