Auto Create deliveries – API

Hi, this post I will show the API to create deliveries. DECLARE l_operation VARCHAR2 (30) := 'Autocreate Delivery '; x_return_status VARCHAR2 (1); x_msg_data VARCHAR2 (2000); x_msg_count VARCHAR2 (2000); p_api_version_number NUMBER; init_msg_list VARCHAR2 (30); x_msg_details VARCHAR2 (3000); x_msg_summary VARCHAR2 (3000); l_line_rows WSH_UTIL_CORE.ID_TAB_TYPE; l_del_rows WSH_UTIL_CORE.ID_TAB_TYPE; i NUMBER :=1; BEGIN x_return_status := WSH_UTIL_CORE.G_RET_STS_SUCCESS; FND_GLOBAL.APPS_INITIALIZE (user_id => 1139, resp_id... Continuar Lendo →

Fazer backorder de várias linhas via API

Nesse post irei deixar uma API para fazer backorder em alto volume. DECLARE l_return_status VARCHAR2 (100); l_msg_count NUMBER; l_msg_data VARCHAR2 (2000); l_msg_index NUMBER; l_user_id NUMBER; l_resp_id NUMBER; l_appl_id NUMBER; l_org_id NUMBER := &org_id; l_move_order_line_id NUMBER := &mo_line_id; BEGIN SELECT user_id INTO l_user_id FROM fnd_user WHERE user_name = 'PRAWILNSON'; SELECT responsibility_id, application_id INTO l_resp_id, l_appl_id FROM... Continuar Lendo →

Schedule Ship Date x Schedule Arrival Date

There are many option on this setup that be considered to determinate th source and delivery destiny. Internal Determinated froo warehouse and internal customer organization. External Determinated from customer address. Region Determinated from setup of customer region Zone Determinated from setup customer zone. The example that we will simulate it's based on internal time transit.... Continuar Lendo →

Query for Pick/Delivery Materials

This post I will show a query that will help on control of material output and sales orders issue. Pick Slip Move Order Transaction Ship Confirm SELECT hp.party_name cliente, ooha.cust_po_number po_cliente, ooha.order_number ordem_venda, (SELECT customer_line_number FROM oe_order_lines_all oola WHERE oola.header_id = ooha.header_id AND oola.line_Id = wsh.source_line_id ) linha_po_cliente, source_line_number linha, mib.segment1 item, mib.description descricao_item, wsh.date_scheduled... Continuar Lendo →

Powered by por Anders Noren

Acima ↑