Create miscellaneous receipt and issue with API

Hi, this post I will show how create an miscellaneous transaction with API Receipt INSERT INTO mtl_transactions_interface ( source_code --01 , source_line_id --02 , source_header_id --03 , process_flag --04 , transaction_mode --05 , validation_required --06 , inventory_item_id --07 , organization_id --08 , subinventory_code --09 , transaction_quantity --10 , transaction_uom --11 , primary_quantity --12 , transaction_date... Continuar Lendo →

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 →

Criar Ordens de Movimentações via API

Neste post irei mostrar API para criar ordens de movimentações Cabeçalho e Linha. DECLARE l_api_version NUMBER := 1.0; l_init_msg_list VARCHAR2 (2) := FND_API.G_TRUE; l_return_values VARCHAR2 (2) := FND_API.G_FALSE; l_commit VARCHAR2 (2) := FND_API.G_FALSE; x_return_status VARCHAR2 (2); x_msg_count NUMBER := 0; x_msg_data VARCHAR2 (255); -- WHO columns l_user_id NUMBER := -1; l_resp_id NUMBER := -1; l_application_id... Continuar Lendo →

Criar Transações de Transferência no INV

Neste post irei mostrar como criar uma transação no INV e depois processá-la automaticamente. INSERT INTO mtl_transactions_interface (transaction_header_id, source_code, source_line_id, source_header_id, process_flag, transaction_mode, last_update_date, last_updated_by, creation_date, created_by, organization_id, transaction_quantity, transaction_uom, transaction_date, transaction_type_id, inventory_item_id, subinventory_code) VALUES (12345, --TRANSACTION_HEADER_ID, 'Teste', --SOURCE_CODE 83, --SOURCE_LINE_ID, 83, --SOURCE_HEADER_ID, 1, --PROCESS_FLAG, 3, --TRANSACTION_MODE, SYSDATE, --LAST_UPDATE_DATE , 26801, --LAST_UPDATED_BY , SYSDATE, --CREATION_DATE... 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 →

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

Acima ↑