Hi, this post I will show how to create or update category_codes on Inventory Category. Create DECLARE v_return_status VARCHAR2(1) := NULL; v_msg_count NUMBER := 0; v_msg_data VARCHAR2(2000); v_errorcode VARCHAR2(1000); l_category_rec INV_ITEM_CATEGORY_PUB.category_rec_type; x_category_id NUMBER; v_context VARCHAR2 (2); l_api_version NUMBER := 1.0; l_init_msg_list VARCHAR2(1000); BEGIN fnd_global.apps_initialize (1139, 20634, 401); l_category_rec.structure_id := 50412; l_category_rec.segment1 := 'Milton'; l_category_rec.description :=... Continuar Lendo →
Atualizar informações de campos do percurso
Nesse post irei mostrar como é possível atualizar informações das entregas via API, essa alternativa pode ajudar quando há integrações e o procedimento é feito por um outro sistema sem precisar entrar na tela do percurso. DECLARE p_trip_info WSH_TRIPS_PUB.trip_pub_rec_type; x_return_status VARCHAR2(200); x_msg_count NUMBER; x_msg_data VARCHAR2(2000); x_trip_id NUMBER; x_trip_name VARCHAR2(200) ; BEGIN FND_GLOBAL.apps_initialize (1139, 21623, 660);... Continuar Lendo →
Atualizar informações de campos das distribuições
Nesse post irei mostrar como é possível atualizar informações das entregas via API, essa alternativa pode ajudar quando há integrações e o procedimento é feito por um outro sistema sem precisar entrar na tela das distribuições. DECLARE x_delivery_info WSH_DELIVERIES_PUB.delivery_pub_rec_type; x_return_status VARCHAR2 (10); x_msg_count NUMBER; x_msg_data VARCHAR2 (2000); x_msg_details VARCHAR2 (3000); x_msg_summary VARCHAR2 (3000); x_del_id NUMBER;... Continuar Lendo →
Atualizar informações de campos das entregas
Nesse post irei mostrar como é possível atualizar informações das entregas via API, essa alternativa pode ajudar quando há integrações e o procedimento é feito por um outro sistema sem precisar entrar na tela das entregas. DECLARE p_sales_order NUMBER := 10014445; p_line_number NUMBER := 1.1; p_org_id NUMBER := 308; l_shipped_quantity NUMBER := 5; p_api_version_number NUMBER... Continuar Lendo →
Creating / Updating costs by Interface
In this article I will show how to create cost records by Interface. Many companies need to replicate their costs to other organizations. This is due to the fact that its components or assemblies are manufactured in more than one organization. Oracle provides a request that copies costs to other organizations. But sometimes the company... 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 →