Oracle Order Management

Enter Order and Line details

Review Order Price and Adjustments

Oracle Advanced pricing

Oracle Shipping Execution

Oracle Transportation Management Ship Confirm

Oracle Global ATP
Check Availability, Schedule Order

Oracle Mobile Supply Chain Application
Pick Confirm

Oracle Order Management Oracle Shipping Execution
Pick Release the Order Book the Order

Oracle WMS

Oracle INV

Oracle Order Management

Enter Order and Line details

Review order Price and Adjustments

Oracle Advanced pricing

Oracle Shipping Execution

Oracle Transportation Management Ship Confirm

Oracle Global ATP
Check Availability, Schedule Order

Oracle Mobile Supply Chain Application
Pick Confirm

Oracle Order Management Oracle Shipping Execution
Pick Release the Order Book the Order

Oracle WMS

Oracle INV

Enter Order Header information for a standard order type. Field values can be set up to default from a variety of sources such as the Order Type or the customer record. All defaults can be overridden unless the business unit defines constraints preventing update.

Enter Other Header information like sales channel, warehouse, payment term, ship method, Line set ( ship or Arrival), FOB, shipping and packing instructions, Tax exempt number and reason etc.

Cancel.Other functions are available through the Actions button. . Copy. Price Order. Apply and Release Holds. On the Order Information window. etc. the Actions include functions such as Additional order information.

OE_ORDER_HEADERS_ALL HEADER_ID ORDER_NUMBER ORG_ID ORDER_TYPE_ID VERSION_NUMBER ORDER_SOURCE_ID SOURCE_DOCUMENT_TYPE_ID ORIG_SYS_DOCUMENT_REF SOURCE_DOCUMENT_ID ORDERED_DATE REQUEST_DATE PRICING_DATE SHIPMENT_PRIORITY_CODE DEMAND_CLASS_CODE PRICE_LIST_ID TAX_EXEMPT_FLAG TAX_EXEMPT_NUMBER PARTIAL_SHIPMENTS_ALLOWED SHIP_TOLERANCE_ABOVE SHIP_TOLERANCE_BELOW TRANSACTIONAL_CURR_CODE AGREEMENT_ID TAX_POINT_CODE CUST_PO_NUMBER PAYMENT_TERM_ID SHIPPING_METHOD_CODE FREIGHT_CARRIER_CODE FOB_POINT_CODE FREIGHT_TERMS_CODE SOLD_FROM_ORG_ID SOLD_TO_ORG_ID .

HOLDS OE_HOLD_DEFINITIONS HOLD_ID NAME TYPE_CODE DESCRIPTION START_DATE_ACTIVE END_DATE_ACTIVE ITEM_TYPE ACTIVITY_NAME HOLD_INCLUDED_ITEMS_FLAG APPLY_TO_ORDER_AND_LINE_FLAG OE_HOLD_SOURCES_ALL HOLD_SOURCE_ID HOLD_ID HOLD_ENTITY_CODE HOLD_ENTITY_ID HOLD_ENTITY_CODE2 HOLD_ENTITY_ID2 HOLD_UNTIL_DATE RELEASED_FLAG HOLD_COMMENT ORG_ID HOLD_RELEASE_ID OE_ORDER_HOLDS_ALL ORDER_HOLD_ID HOLD_SOURCE_ID HOLD_RELEASE_ID HEADER_ID LINE_ID ORG_ID RELEASED_FLAG OE_HOLD_RELEASES HOLD_RELEASE_ID HOLD_SOURCE_ID RELEASE_REASON_CODE RELEASE_COMMENT ORDER_HOLD_ID .

Cancelled Qty. These tabs include Pricing. Arrival set. Freight terms.Enter the line information within the Line Items screen. Ship set. shipment priority. Receiving Org for Drop ship orders. Schedule Ship Date. schedule arrival date. Source type (External for Drop ship orders and Internal otherwise). Addresses. Services. Returns. and Other. Line Type. Schedule Ship date. The Line Items window will display in multi-line format. Shiping method. Order Source. Shipping and Packing Instructions etc. Split by. Shipping tab shows info like warehouse. . Other line information that can be entered in the Main tab include Request Date. Sales Rep. The Line. The Line Items window includes five additional tabs to enter detailed line information. Minimum line information required to book an order is item number and quantity. Ordered Item and Quantity fields are static in the window. Tax code etc. Shipping. Shipped Qty.

bill to location. ship to location. Tax Amount. List Price. Line Charges. Pricing Agreement. Extended Price. Bill to customer. Pricing Quantity. Price List. bill to contact and address details etc. Payment terms. ship to contact. Pricing Date etc. . UOM. Address tab shows info like Ship to customer.Pricing tab shows info like Unit Selling Price.

the Actions include additional functions such as Split Line. In the Line Items window. Price Line. ATP.Other functions are available through the Actions button. Configurator etc OE_ORDER_LINES_ALL LINE_ID ORG_ID HEADER_ID LINE_TYPE_ID LINE_NUMBER ORDERED_ITEM REQUEST_DATE PROMISE_DATE SCHEDULE_SHIP_DATE ORDER_QUANTITY_UOM PRICING_QUANTITY PRICING_QUANTITY_UOM CANCELLED_QUANTITY SHIPPED_QUANTITY ORDERED_QUANTITY FULFILLED_QUANTITY SHIPPING_QUANTITY SHIPPING_QUANTITY_UOM DELIVERY_LEAD_TIME TAX_EXEMPT_FLAG TAX_EXEMPT_NUMBER TAX_EXEMPT_REASON_CODE SHIP_FROM_ORG_ID SHIP_TO_ORG_ID INVOICE_TO_ORG_ID DELIVER_TO_ORG_ID SHIP_TO_CONTACT_ID .

Schedule Order Oracle Mobile Supply Chain Application Pick Confirm Oracle Order Management Oracle Shipping Execution Pick Release the Order Book the Order Oracle WMS Oracle INV .Oracle Order Management Enter Order and Line details Review Order Review order Price and Adjustments Oracle Advanced pricing Oracle Shipping Execution Oracle Transportation Management Ship Confirm Oracle Global ATP Check Availability.

.

. The modifier details like rate of adjustment. adjusted amount and extended price will appear.The list price is derived from the price list and the selling price is calculated taking into account other adjustments and charges info. Go to line price adjustments thru· the actions LOV.

which were satisfied for the previously mentioned modifier to be applied on this Order line.Click on adjustment attributes to find the Pricing and Qualifier attributes and their values. OE_PRICE_ADJUSTMENTS PRICE_ADJUSTMENT_ID REQUEST_ID HEADER_ID DISCOUNT_ID DISCOUNT_LINE_ID AUTOMATIC_FLAG PERCENT LINE_ID ORIG_SYS_DISCOUNT_REF CHANGE_SEQUENCE LIST_HEADER_ID LIST_LINE_ID LIST_LINE_TYPE_CODE MODIFIED_FROM MODIFIED_TO MODIFIER_MECHANISM_TYPE_CODE UPDATED_FLAG APPLIED_FLAG OPERAND ARITHMETIC_OPERATOR OE_PRICE_ADJ_ATTRIBS PRICE_ADJUSTMENT_ID PRICING_CONTEXT PRICING_ATTRIBUTE PRICING_ATTR_VALUE_FROM PRICING_ATTR_VALUE_TO COMPARISON_OPERATOR FLEX_TITLE PRICE_ADJ_ATTRIB_ID LOCK_CONTROL .

This modifier is a discount list which is active and gets applied automatically.Let·s check how the above modifier COV001 is configured in Adv Pricing. It has a line for product AS54888 having a volume break of 5 to 9999999999 .

.The discount is 20% Click on header level Qualifier button to check who are qualified for this discount.

.

Click on actions button and choose charges from the LOV. . For a charge click on attributes button to view the pricing and qualifier attributes. Let·s analyze the modifier F0011 in Adv Pricing.The charges and freight costs can be defined in Adv Pricing and automatically applied to the Order line based on business rules.

for Item AS54888. similarly let·s examine the modifier F0011. .As we saw the price adjustments before.5 USD. This modifier is a lumpsum freight cost of 10.

The header level qualifier is for customer Imaging Innovator. There is also a line level qualifier which needs the shipment method should be DHL .

.

taxes are based on tax rates assigned to user. i‡ Sales Tax ii‡ Value Added Tax (VAT).Oracle Receivables system option determines tax method. Booking or Invoicing which can only be controlled at the order level. The default value for Tax Calculation Event Code is null which is same as Entry. This option (tax calculation flag) is set in Oracle Receivables. This will determine if tax is required on an order. which decides whether it is taxable.. Tax calculation in OM can occur at Entry. For value added tax. Receivables Transaction Type associated with the OM Transaction Type .defined codes. You specify when to calculate the tax when you create Order Types. Receivables Transaction Type associated with the OM Transaction Type.

.

..G_MISS_LINE_REC.operation := OE_GLOBALS.order_type_id := 1000. l_line_tbl(1).G_MISS_LINE_REC.Check the return status if x_return_status = FND_API.. -. Else failure. -.freight_term_code = NULL. . l_line_tbl(2). -. -..SETTING UP THE HEADER RECORD -.G_MISS_LINE_ADJ_REC. x_return_status=> l_return_status x_msg_count=> l_msg_count x_msg_data=> l_msg_data). -.Indicator that this adjustment belongs to the second line l_line_adj_tbl(1).G_OPR_CREATE.g.G_OPR_CREATE.operation := OE_GLOBALS.G_RET_STS_SUCCESS then success.Create Operation Creating a new order with 2 lines and 1 line adjustment and the adjustment belongs to the second line. l_header_rec..ordered_quantity := 1. -.Initialize record to missing l_line_adj_tbl(1) := OE_ORDER_PUB.Initialize record to missing l_line_tbl(1) := OE_ORDER_PUB.... l_line_adj_tbl(1).Required attributes (e. -. -...price_list_id := 10. end if.. -...get(p_msg_index => l_index. end loop. p_encoded => ¶F·). -. -. -.Line attributes l_line_tbl(2)inventory_item_id := 312..discount_id := 1.Initialize record to missing l_header_rec := OE_ORDER_PUB. Order Type and Customer) l_header_rec.Process_Order( p_header_rec => l_header_rec p_line_tbl=> l_line_tbl p_line_adj_tbl=> l_line_adj_tbl -.percent := 5.CALL TO PROCESS ORDER OE_Order_PUB.line_index := 2.Other attributes l_header_rec. l_line_tbl(2).LINE ADJUSTMENT RECORD -.SECOND LINE RECORD -. l_line_tbl(1).Null attribute: no defaulting for freight terms l_header_rec.FIRST LINE RECORD -..G_OPR_CREATE.G_MISS_HEADER_REC...l_msg_count loop l_msg_data := oe_msg_pub.. -.OUT variables x_header_rec=> l_header_rec x_header_scredit_tbl=> l_header_scr_tbl x_header_adj_tbl=> l_header_adj_tbl x_line_tbl=> l_line_tbl x_line_scredit_tbl=> l_line_scredit_tbl x_line_adj_tbl=> l_line_adj_tbl .sold_to_org_id := 100. if l_msg_count > 0 then for l_index in 1.Initialize record to missing l_line_tbl(2) := OE_ORDER_PUB. ..operation := OE_GLOBALS.inventory_item_id := 311.ordered_quantity := 2..Indicates to process order that a new header is being created l_header_rec.Line attributes l_line_tbl(1).Attributes for the line adjustment l_line_adj_tbl(1)..G_OPR_CREATE. -...operation := OE_GLOBALS. end if.. l_line_adj_tbl(1).

Updating the bill to organization and order quantity on an order line.. l_line_tbl(1). with NULL. l_line_tbl(1).header_id := 1000. process order will update existing value of those attributes.Create Operation Delete Operation Inserting a new line into an existing order. the order line l_line_tbl(1).operation := OE_GLOBALS.... if it was also passed to process order else there will be an error in the processing of this line). -.CALL TO PROCESS ORDER OE_ORDER_PUB. p_header_rec..G_OPR_UPDATE. -..Indicates to process order that this is an update operation Note: If you pass in NULL values for some attributes..Entity records p_header_rec=> l_header_rec -.G_MISS_LINE_REC.G_MISS_LINE_REC. -... -.CALL TO PROCESS ORDER OE_ORDER_PUB.. Update Operation Deleting an order line.Primary key of the entity i.. only the header record needs to be passed.line_id := 1000..G_OPR_CREATE.NEW LINE RECORD l_line_tbl(1) := OE_ORDER_PUB. -.Indicator that a new line is being created l_line_tbl(1).OUT variables .Primary key of the parent entity (If not passed.ordered_quantity := 1. -...). l_line_tbl(1). this will be retrieved from the parent record. . l_line_tbl(1)... the header l_header_rec := OE_ORDER_PUB... -..). -..e.Passing just the entity records that are being created p_line_tbl=> l_line_tbl -.Primary key of this order i...OUT variables ..Process_Order(....G_MISS_LINE_REC.Indicate to process order that the order is to be deleted l_header_rec.operation := OE_GLOBALS.inventory_item_id := 311..LINE RECORD WITH THE CHANGES -.e.)... Note: Child entities will always be deleted if parent entity passes security check.. -....OUT variables .. -.Changed attributes l_line_tbl(1) := OE_ORDER_PUB. -.. -.invoice_to_org_id := 322.Attributes for the new line l_line_tbl(1)... -. -. There will not be a separate security check for child entities -.Entity records p_line_tbl=> l_line_tbl -.. l_line_tbl(1).ordered_quantity := 2. -.operation := OE_GLOBALS...Process_Order(.Process_Order(.... Since the whole order is being deleted.....Only the record for the parent entity needs to be passed..CALL TO PROCESS ORDER OE_ORDER_PUB. if any.G_OPR_DELETE.

-.Id of the item (hold_entity_id) l_request_rec.request record parameters -. -.inserting request record into the action request table l_action_request_tbl := l_request_rec.request_name := OE_GLOBALS. -. .G_APPLY_HOLD.param2 = ¶I·.Indicates that it is a line level action l_request_rec.defective product hold (hold_id) l_request_rec.name of the action request l_request_rec.entity_id := 100.primary key of the line on which the hold is to be applied l_request_rec. -. -.param1 := 4.Apply a hold to an order line due to a defective item. -.G_ENTITY_LINE.entity := OE_GLOBALS.indicator that it is an item hold (hold_entity_code) l_request_rec.ACTION REQUEST RECORD -. -.param3 := 3214.

Oracle Order Management Enter Order and Line details Review order Price and Adjustments Oracle Advanced pricing Oracle Shipping Execution Oracle Transportation Management Ship Confirm Oracle Global ATP Check Availability. Schedule Order Oracle Mobile Supply Chain Application Pick Confirm Oracle Order Management Oracle Shipping Execution Pick Release the Order Book the Order Oracle WMS Oracle INV .

Note that if autoschedule is turned on the availability window is automatically displayed when the sales order window is opened. Autoschedule The sales order line is scheduled when it is saved. You can turn Autoschedule on or off from the sales order window by going to the Tools menu. You can book an order at either the Order Information tab or Line Items tab via the Book button. the sales order will be opened in Autoschedule mode. If the warehouse is entered on the line. the system will first try to schedule the line. A line must be scheduled before it can be reserved. If either the Autoschedule check box on the order transaction type is checked or the OM: Autoschedule profile option is Yes. automatically reserves the line In Oracle Order Management. the schedule arrival date. You can close the availability window. Scheduling determines the schedule ship date. If you try to reserve an unscheduled line. you can right mouse click to bring up the context menu and select Reserve to reserve the 9. the scheduling action determines the best warehouse based on the sourcing rules. If the reservation time fence is set and the schedule ship date is within the reservation time fence. WSH_DELIVERY_DETAILS DELIVERY_DETAIL_ID SOURCE_CODE SOURCE_HEADER_ID SOURCE_LINE_ID SOURCE_HEADER_TYPE_ID SOURCE_HEADER_TYPE_NAME CUST_PO_NUMBER CUSTOMER_ID INVENTORY_ITEM_ID ITEM_DESCRIPTION . If the warehouse is blank.Scheduling Features: ‡ Calculating Available-to-Promise (ATP) ‡ Scheduling ‡ Reserving Scheduling determines the source (warehouse) for the order line. but the lines will still be autoscheduled unless the autoschedule check box on the tools menu is unchecked. If you are on an order line the line will be reserved. You may reserve part or all of the ordered quantity. either manually or using defaulting rules. If 9 out of 10 are available. ‡ Select reserve from the scheduling option under the tools menu ‡ Select reserve from the scheduling sub menu which is displayed when you select the context menu. Book the order. It makes the line visible to the planning applications and consumes supply for the item. you can reserve on-hand inventory to a sales order. and if you have set the parameters to allow partials. This functionality includes ATO models. the delivery lead time and the shipping method. all the lines will be reserved. There are two ways to reserve manually from the sales order window. Reserved inventory cannot be used for any other purpose. Manual reservations are affected by a scheduling parameter that lets you control whether to apply a partial reservation manually. The reserved quantity for a sales order line is displayed on the shipping tab. If the line is successfully scheduled then the system will try to reserve it. the scheduling action uses the requested warehouse and the other scheduling results are based on it. If you are on the header. When a line is successfully scheduled the VISIBLE_DEMAND_FLAG is set to Yes.

Oracle Order Management Enter Order and Line details Review order Price and Adjustments Oracle Advanced pricing Oracle Shipping Execution Oracle Transportation Management Ship Confirm Oracle Global ATP Check Availability. Schedule Order Oracle Mobile Supply Chain Application Pick Confirm Oracle Order Management Oracle Shipping Execution Pick Release the Order Book the Order Oracle WMS Oracle INV .

a Pick Slip Grouping Rule and check the Auto Allocate box.Pick release the order from the Shipping > Release Sales Orders window. Set Autocreate delivery to Yes. such that the shipper/Delivery is automatically created. The lines of the order must be in a status Released to proceed to the Ship Confirmation activity in the Workflow process. . You can view the status in the Shipping Transaction window. Make sure to include a Warehouse. Check Auto Pick Confirm box for accepting the suggestions given by system and staging the goods at staging subinventory.

WSH_PICKING_BATCHES BATCH_ID NAME TRIP_ID TRIP_STOP_ID DELIVERY_ID DELIVERY_DETAIL_ID BACKORDERS_ONLY_FLAG DOCUMENT_SET_ID EXISTING_RSVS_ONLY_FLAG SHIPMENT_PRIORITY_CODE SHIP_METHOD_CODE CARRIER_ID CUSTOMER_ID SHIP_TO_LOCATION_ID ORDER_HEADER_ID ORDER_LINE_ID SHIP_SET_NUMBER INVENTORY_ITEM_ID ORDER_TYPE_ID FROM_REQUESTED_DATE TO_REQUESTED_DATE FROM_SCHEDULED_SHIP_DATE TO_SCHEDULED_SHIP_DATE SUBINVENTORY SHIP_FROM_LOCATION_ID ORGANIZATION_ID DEFAULT_STAGE_SUBINVENTORY DEFAULT_STAGE_LOCATOR_ID PICK_FROM_SUBINVENTORY PICK_FROM_LOCATOR_ID AUTODETAIL_PR_FLAG WSH_NEW_DELIVERIES DELIVERY_ID NAME PLANNED_FLAG STATUS_CODE INITIAL_PICKUP_DATE INITIAL_PICKUP_LOCATION_ID ULTIMATE_DROPOFF_LOCATION_ID ULTIMATE_DROPOFF_DATE CUSTOMER_ID INTMED_SHIP_TO_LOCATION_ID POOLED_SHIP_TO_LOCATION_ID FREIGHT_TERMS_CODE FOB_CODE FOB_LOCATION_ID WAYBILL ACCEPTANCE_FLAG ACKNOWLEDGED_BY CONFIRMED_BY ASN_DATE_SENT ASN_STATUS_CODE ASN_SEQ_NUMBER REASON_OF_TRANSPORT DESCRIPTION GROSS_WEIGHT WSH_DELIVERY_ASSIGNMENTS DELIVERY_ASSIGNMENT_ID DELIVERY_ID DELIVERY_DETAIL_ID PARENT_DELIVERY_ID PARENT_DELIVERY_DETAIL_ID ACTIVE_FLAG .

Schedule Order Oracle Mobile Supply Chain Application Pick Confirm Oracle Order Management Oracle Shipping Execution Pick Release the Order Book the Order Oracle WMS Oracle INV .Oracle Order Management Enter Order and Line details Review order Price and Adjustments Oracle Advanced pricing Oracle Shipping Execution Oracle Transportation Management Ship Confirm Oracle Global ATP Check Availability.

After finding the Move order. You can also search using the Picking batch number. .Navigate to Transact Move Orders window in Inventory. click on update allocation to update (if necessary) and transact the MO. Search the Sales order with order type and source as ¶ORDER ENTRY·.

You can change the subinventory and quantity and click on transact. View the status of the order line in Shipping transactions window. .View the allocation done by the system.

MTL_TXN_REQUEST_HEADERS HEADER_ID REQUEST_NUMBER TRANSACTION_TYPE_ID MOVE_ORDER_TYPE ORGANIZATION_ID DESCRIPTION DATE_REQUIRED FROM_SUBINVENTORY_CODE TO_SUBINVENTORY_CODE TO_ACCOUNT_ID HEADER_STATUS STATUS_DATE GROUPING_RULE_ID SHIP_TO_LOCATION_ID FREIGHT_CODE SHIPMENT_METHOD AUTO_RECEIPT_FLAG REFERENCE_ID REFERENCE_DETAIL_ID ASSIGNMENT_ID MTL_TXN_REQUEST_LINES LINE_ID HEADER_ID LINE_NUMBER ORGANIZATION_ID INVENTORY_ITEM_ID REVISION FROM_SUBINVENTORY_CODE FROM_LOCATOR_ID TO_SUBINVENTORY_CODE TO_LOCATOR_ID LOT_NUMBER SERIAL_NUMBER_START SERIAL_NUMBER_END UOM_CODE QUANTITY QUANTITY_DELIVERED QUANTITY_DETAILED DATE_REQUIRED REASON_ID REFERENCE .

Schedule Order Oracle Mobile Supply Chain Application Pick Confirm Oracle Order Management Oracle Shipping Execution Pick Release the Order Book the Order Oracle WMS Oracle INV .Oracle Order Management Enter Order and Line details Review order Price and Adjustments Oracle Advanced pricing Oracle Shipping Execution Oracle Transportation Management Ship Confirm Oracle Global ATP Check Availability.

Click on the details button to see detailed line information. here . You can enter here the actual quantity to be shipped. Click on the Delivery tab and the details button to see detailed delivery information. You can enter the waybill number & additional info etc.While in Lines/LPN tab.

a Background Workflow Process processes the order line(s) to the Invoice Interface activity. Enter the trip creation options viz: Ship method. departure date. The invoice will then be viewable in the Sales Orders window. . The invoice interface activity places the information from the sales order line into the Receivables Interface tables. ship all or ship partial quantities and set user defined shipping documents to print. The ship confirm process triggers the inventory interface automatically to update quantities. The line will be eligible to close after the Invoice interface workflow is run. The invoice is not generated until the Autoinvoice program in Receivables has been run. Invoicing the order: Once the Fulfillment activity completes. close trip and defer interface. The ship confirmation window will appear and give you the options to backorder. select the Actions list in the Delivery Tab. Then ship confirmation success message will appear. and triggers the Order Management Interface to update the status of the order lines.To ship confirm the order. choose Ship Confirm and GO.

WSH_DELIVERY_LEGS DELIVERY_LEG_ID DELIVERY_ID PICK_UP_STOP_ID DROP_OFF_STOP_ID SEQUENCE_NUMBER LOADING_ORDER_FLAG GROSS_WEIGHT NET_WEIGHT WEIGHT_UOM_CODE VOLUME VOLUME_UOM_CODE LOAD_TENDER_STATUS SHIPPER_TITLE SHIPPER_PHONE POD_FLAG POD_BY POD_DATE EXPECTED_POD_DATE WSH_TRIPS TRIP_ID NAME PLANNED_FLAG ARRIVE_AFTER_TRIP_ID STATUS_CODE VEHICLE_ITEM_ID VEHICLE_NUMBER CARRIER_ID SHIP_METHOD_CODE ROUTE_ID ROUTING_INSTRUCTIONS VEHICLE_ORGANIZATION_ID VEHICLE_NUM_PREFIX SERVICE_LEVEL MODE_OF_TRANSPORT FREIGHT_TERMS_CODE CONSOLIDATION_ALLOWED LOAD_TENDER_STATUS WSH_TRIP_STOPS STOP_ID TRIP_ID STOP_LOCATION_ID STATUS_CODE STOP_SEQUENCE_NUMBER PLANNED_ARRIVAL_DATE PLANNED_DEPARTURE_DATE ACTUAL_ARRIVAL_DATE ACTUAL_DEPARTURE_DATE DEPARTURE_GROSS_WEIGHT DEPARTURE_NET_WEIGHT WEIGHT_UOM_CODE DEPARTURE_VOLUME VOLUME_UOM_CODE DEPARTURE_SEAL_CODE DEPARTURE_FILL_PERCENT LOCK_STOP_ID PENDING_INTERFACE_FLAG .

WSH_NEW_DELIVERIES DELIVERY_ID NAME PLANNED_FLAG STATUS_CODE INITIAL_PICKUP_DATE INITIAL_PICKUP_LOCATION_ID ULTIMATE_DROPOFF_LOCATION_ID ULTIMATE_DROPOFF_DATE CUSTOMER_ID INTMED_SHIP_TO_LOCATION_ID POOLED_SHIP_TO_LOCATION_ID FREIGHT_TERMS_CODE FOB_CODE FOB_LOCATION_ID WAYBILL ACCEPTANCE_FLAG ACKNOWLEDGED_BY CONFIRMED_BY ASN_DATE_SENT ASN_STATUS_CODE ASN_SEQ_NUMBER REASON_OF_TRANSPORT DESCRIPTION GROSS_WEIGHT WSH_DELIVERY_DETAILS DELIVERY_DETAIL_ID SOURCE_CODE SOURCE_HEADER_ID SOURCE_LINE_ID SOURCE_HEADER_TYPE_ID SOURCE_HEADER_TYPE_NAME CUST_PO_NUMBER CUSTOMER_ID INVENTORY_ITEM_ID ITEM_DESCRIPTION .

.

.

.

p_validation_level NUMBER. p_commit => p_commit. To determine parameter values.resp_id =>52892 . /* Values for updating delivery details to ship all quantities in the first line. -. to back order all in the second. stage everything in the second line. changed_attributes(1).APPS_INITIALIZE(user_id => 1001594 .shipped_quantity := 1.show errors package WSH_SHIP_API.Update_Shipping_Attributes. Call WSH_CONTAINER_PUB. -.Delivery_Action. It is assumed that the user knows the quantities in each line. Call WSH_DELIVERIES_PUB.cycle_count_quantity := 2. refer to the Application Paramater Initialization section of this chapter.PubFreightCostRecType. p_init_msg_list => init_msg_list.source_line_id := 13433. -. --Parameters for WSH_DELIVERIES_PUB. Call WSH_DELIVERY_DETAILS_PUB. x_msg_details VARCHAR2(3000). */ FND_GLOBAL. / -.shipped_quantity := 0. Procedures Create or replace package body WSH_SHIP_API as procedure SHIP_CONFIRM_EXAMPLE1( x_return_status OUT VARCHAR2. BEGIN /* Initialize return status*/ x_return_status := WSH_UTIL_CORE. p_group_id_tab WSH_UTIL_CORE. p_asg_trip_id NUMBER. p_delivery_name VARCHAR2(30).Update_Shipping_Attributes API to update the corresponding delivery details to ship all quantities in the first delivery detail. WSH_DELIVERY_DETAILS_PUB.Stage All in this detail. and back order all in the third.Create_Update_Freight_Costs API to create freight costs for the delivery that the details have been assigned to.Ship All quantities in this detail. --Parameters for WSH_CONTAINER_PUB. changed_attributes(3).G_RET_STS_SUCCESS. x_msg_data OUT VARCHAR2).Auto_Pack. x_msg_summary VARCHAR2(3000). source_code VARCHAR2(15). changed_attributes(3). x_msg_data OUT VARCHAR2) IS /* --Standard Parameters. p_delivery_id NUMBER. changed_attributes(3). --Parameters for WSH_FREIGHT_COSTS_PUB. :::::::::::::::::::::::::::::::::::::::::::::::::: /*Handle exceptions*/ fail_api EXCEPTION. p_entity_type VARCHAR2(30).ChangedAttributeTabType. init_msg_list VARCHAR2(30). x_msg_count OUT NUMBER. p_commit VARCHAR2(30). CODE«« Create or replace package WSH_SHIP_API as procedure SHIP_CONFIRM_EXAMPLE1( x_return_status OUT VARCHAR2. p_action_code VARCHAR2(15).Create_Update_Freight_Costs. to stage all in the third delivery detail. */ source_code := 'OE'. changed_attributes(2). p_entity_tab WSH_UTIL_CORE.cycle_count_quantity := 0.id_tab_type.Update_Shipping_Attributes( p_api_version_number => 1.The only source code that should be used by the API changed_attributes(1). --Call to WSH_DELIVERY_DETAILS_PUB. --Parameters for WSH_DELIVERY_DETAILS_PUB. pub_freight_costs WSH_FREIGHT_COSTS_PUB.Back Order All in this detail.id_tab_type. changed_attributes(2). /* Call this procedure to initialize applications parameters. changed_attributes(2).shipped_quantity := 0. -.An example of how to ship confirm a delivery consisting of delivery details that have already been pick released and assigned to a delivery.0. p_pack_cont_flag varchar2(30). p_api_version_number NUMBER.Auto_Pack to pack the delivery lines into a container. action_code VARCHAR2(15).delivery_detail_id := 13431. x_msg_count OUT NUMBER. .Update_Shipping_Attributes. procedure SHIP_CONFIRM_EXAMPLE2( x_return_status OUT VARCHAR2. x_msg_count OUT NUMBER.id_tab_type. x_return_status => x_return_status. freight_cost_id NUMBER. Call WSH_FREIGHT_COSTS_PUB.Delivery_Action API to ship confirm the delivery.source_line_id := 13432. END WSH_SHIP_API. x_cont_inst_tab WSH_UTIL_CORE. changed_attributes WSH_DELIVERY_DETAILS_PUB. x_msg_data OUT VARCHAR2).resp_appl_id =>660).

delivery_id := 5341. p_entity_tab(2) := 13432.Auto_Pack( p_api_version => 1. x_msg_count => x_msg_count. x_cont_inst_tab => x_cont_inst_tab).0.Auto_Pack WSH_CONTAINER_PUB.The ship method code -. p_changed_attributes => changed_attributes. p_pub_freight_costs => pub_freight_costs. x_msg_data => x_msg_data. x_msg_data => x_msg_data. x_return_status => x_return_status. The delivery can be queried for the respective delivery detail through wsh_delivery_assignments. x_return_status => x_return_status. p_asg_pickup_dep_date => p_asg_pickup_dep_date.0. pub_freight_costs. end if.Call to WSH_DELIVERIES_PUB. p_commit => p_commit. p_pack_cont_flag => p_pack_cont_flag. p_group_id_tab => p_group_id_tab. if (x_return_status <> WSH_UTIL_CORE. -. p_delivery_id => p_delivery_id. x_msg_count => x_msg_count. p_asg_dropoff_dep_date => p_asg_dropoff_dep_date. x_freight_cost_id => freight_cost_id). if (x_return_status <> WSH_UTIL_CORE.Create_Update_Freight_Costs. p_init_msg_list => init_msg_list.0. /* Values for creating freight costs for the delivery created for the above delivery details. p_asg_pickup_stop_id => p_asg_pickup_stop_id. x_msg_count => x_msg_count. WSH_DELIVERIES_PUB. --Call to WSH_FREIGHT_COSTS_PUB. p_sc_create_bol_flag => p_sc_create_bol_flag. p_entity_tab => p_entity_tab. */ pub_freight_costs.Create_Update_Freight_Costs( p_api_version_number => 1. p_init_msg_list => init_msg_list. p_source_code => source_code). p_delivery_name => p_delivery_name.Delivery_Action( p_api_version_number => 1. p_asg_dropoff_loc_id => p_asg_dropoff_loc_id. p_asg_dropoff_loc_code => p_asg_dropoff_loc_code. -. p_entity_type => 'L'. p_asg_dropoff_stop_id => p_asg_dropoff_stop_id. pub_freight_costs.The delivery that needs to be confirmed p_delivery_name := '5341'. p_asg_trip_name => p_asg_trip_name.G_RET_STS_SUCCESS) then raise fail_api. p_action_code => 'CREATE'. */ p_entity_tab(1) := 13431. /* Values for Ship Confirming the delivery. end if. .Close the trip after ship confirm p_sc_trip_ship_method := 'GROUND'. x_msg_data => x_msg_data. -.x_msg_count => x_msg_count. WSH_FREIGHT_COSTS_PUB.Ship entered quantity. p_validation_level => p_validation_level. p_commit => p_commit. p_entity_tab(3) := 13434. p_asg_dropoff_arr_date => p_asg_dropoff_arr_date. pub_freight_costs. p_sc_action_flag := 'S'.The delivery name.The action code for ship confirm p_delivery_id := 5341. -.freight_cost_type_id := 1. /* Values for autopacking the delivery details to a container. x_msg_data => x_msg_data. p_sc_close_trip_flag := 'Y'. p_asg_pickup_loc_id => p_asg_pickup_loc_id. */ p_action_code := 'CONFIRM'. p_asg_trip_id => p_asg_trip_id. -.Delivery_Action. if (x_return_status <> WSH_UTIL_CORE. end if. p_asg_pickup_loc_code => p_asg_pickup_loc_code.G_RET_STS_SUCCESS) then raise fail_api. p_sc_action_flag => p_sc_action_flag. -. p_init_msg_list => init_msg_list. x_return_status => x_return_status. p_asg_pickup_arr_date => p_asg_pickup_arr_date.currency_code := 'USD'.unit_amount := 20. p_sc_close_trip_flag => p_sc_close_trip_flag. --Call to WSH_CONTAINER_PUB.G_RET_STS_SUCCESS) then raise fail_api. p_action_code => p_action_code.

x_msg_count). p_sc_trip_ship_method => p_sc_trip_ship_method. The Freight Costs Public Application Program Interface (API) is a public API that consists of the following three procedures in package WSH_FREIGHT_COSTS_ PUB: Create_Update_Freight_Costs: Enables you to create a new freight cost record and update an existing freight cost record. p_sc_report_set_id => p_sc_report_set_id. x_msg_summary. END SHIP_CONFIRM_EXAMPLE1. Delete_Freight_Costs: Enables you to delete a freight cost record. end if. end if. x_msg_details. x_trip_name => x_trip_name). else x_msg_data := x_msg_summary.p_sc_stage_del_flag => p_sc_stage_del_flag.G_RET_STS_SUCCESS) then raise fail_api. Validate_Freight_Cost_Type: Validates that the freight cost type exists. exception when fail_api then WSH_UTIL_CORE. x_trip_id => x_trip_id. . p_sc_actual_dep_date => p_sc_actual_dep_date.get_messages('Y'. p_sc_report_set_name => p_sc_report_set_name. if (x_return_status <> WSH_UTIL_CORE. if x_msg_count > 1 then x_msg_data := x_msg_summary || x_msg_details. p_wv_override_flag => p_wv_override_flag.

Sign up to vote on this title
UsefulNot useful