Criar Percurso via API

Nesse post irei mostrar como criar percurso/distribuição via API Execute o script abaixo para criar o percurso e distribuição ao mesmo tempo DECLARE lv_return_status VARCHAR2 (1); ln_msg_count NUMBER; lv_msg_data VARCHAR2 (400); ln_trip_id VARCHAR2 (20); lv_trip_name VARCHAR2 (30); l_line_tbl WSH_UTIL_CORE.id_tab_type; l_del_rows_tbl WSH_UTIL_CORE.id_tab_type; i NUMBER := 1; l_msg_index_out NUMBER; CURSOR cur_trip IS SELECT delivery_detail_id FROM wsh_delivery_details a,... Continuar Lendo →

Criar requisições de compra/interna via interface

Olá, segue abaixo um exemplo de código para criar requisição de compra/interna. INSERT INTO po_requisitions_interface_all (interface_source_code, source_type_code, requisition_type, destination_type_code, item_segment1, item_description, quantity, authorization_status, preparer_id, autosource_flag, uom_code, destination_organization_id, destination_subinventory, deliver_to_location_id, deliver_to_requestor_id, need_by_date, gl_date, charge_account_id, accrual_account_id, variance_account_id, org_id, suggested_vendor_id, suggested_vendor_site_id, unit_price, creation_date, created_by, last_update_date, last_updated_by) VALUES ('INV', 'VENDOR', 'PURCHASE', 'INVENTORY', '887788', 'Teste importação de item', 1, 'INCOMPLETE',... Continuar Lendo →

API Create Reservations

In This Post I want to show how create a reservations using API Oracle Some times it's necessary to use API for work with integrations. The script below can be used for create a reservation. DECLARE l_rsv_rec INV_RESERVATION_GLOBAL.MTL_RESERVATION_REC_TYPE; l_new_rsv_rec INV_RESERVATION_GLOBAL.MTL_RESERVATION_REC_TYPE; l_serial_number INV_RESERVATION_GLOBAL.SERIAL_NUMBER_TBL_TYPE; l_new_serial_number INV_RESERVATION_GLOBAL.SERIAL_NUMBER_TBL_TYPE; x_serial_number INV_RESERVATION_GLOBAL.SERIAL_NUMBER_TBL_TYPE; l_api_version NUMBER := 1.0; l_init_msg_list VARCHAR2 (2) := FND_API.G_TRUE;... Continuar Lendo →

Powered by WordPress.com. Tema: Baskerville 2 por Anders Noren

Acima ↑