首页 > 数据库 >Oracle EBS 处理物料搬运单使用 INV_PICK_WAVE_PICK_CONFIRM_PUB.Pick_Confirm API

Oracle EBS 处理物料搬运单使用 INV_PICK_WAVE_PICK_CONFIRM_PUB.Pick_Confirm API

时间:2024-11-19 16:46:24浏览次数:3  
标签:move CONFIRM INV PICK API Pick order

Oracle EBS 处理物料搬运单使用 INV_PICK_WAVE_PICK_CONFIRM_PUB.Pick_Confirm API

Goal
使用 API INV_PICK_WAVE_PICK_CONFIRM_PUB.Pick_Confirm 来处理搬运单

Sample Code:
Please review the below instructions and sample code document. The API call looks something like this using INV_PICK_WAVE_PICK_CONFIRM_PUB from INVPCPWB.pls. See the sample code for a complete example but here is a snippet of the call:

...
INV_PICK_WAVE_PICK_CONFIRM_PUB.Pick_Confirm
(
p_api_version_number => l_api_version
, p_init_msg_list => l_init_msg_list
, p_commit => l_commit
, x_return_status => x_return_status
, x_msg_count => x_msg_count
, x_msg_data => x_msg_data
, p_move_order_type => l_move_order_type
, p_transaction_mode => l_transaction_mode
, p_trolin_tbl => l_trolin_tbl
, p_mold_tbl => l_mold_tbl
, x_mmtt_tbl => x_mmtt_tbl
, x_trolin_tbl => x_trolin_tbl
, p_transaction_date => l_transaction_date
);
...


Steps:
1) 创建移动订单并批准。
2) 查询移动订单并为移动订单项目分配数量
3) 运行应用程序接口,以移动订单行 ID 作为参数,从分配的子库存中进行物料交易。

Move Order Type:

Value    Move Order Type
1    Requisition
2    Replenishment
3    Pick Wave
4    Receipt
5    Manufacturing Component Pick
6    Put Away

FAQ
#1) How to transact partial qty on a move order line ?

Partial allocation through the API is currently not available. There is an enhancement request Bug 4506481 logged requesting the feature. You can use a combination of the API and form to get the results. Here are the steps:

1) Create , book and release the sales order with Auto Allocate = Yes, Auto Pick Confirm = No.
2) Go to Transact Move Orders, Query for the move order, Click on View/ Update Allocations.
3) Reduce the allocation qty, and click save. *

* Note that API INV_REPLPENISH_DETAIL_PUB.Line_Details_Pub does have a limitation where it cannot allocate quantity lesser than requested quantity, so, this can be done only from forms.
4) Now transact the move order using the same API code as before.
5) See that the reduced qty on the move order line is transacted, and rest on the order line is back ordered.

This needs to be released again, as the current move order would be closed after its transacted.
This is same as front-end functionality, when clicking on 'Transact' button it will try to transact all the lines that are allocated on that form.

Note: If requested_qty = detailed_qty on the Move Order Line, the API would transact all the detailed_qty. If the detailed_qty < requested_qty, only detailed_qty will be transacted, and the rest would be back-ordered.  

#2) Is under-picking supported using API ?

Under picking is not supported through the api. It can only be done manually via the Transact move orders form.

#3) Can you split allocations using API ?

The public API INV_PICK_WAVE_PICK_CONFIRM_PUB.PICK_CONFIRM() is only meant
for transacting allocation against the move order. 'Splitting Allocation' kind of functionality through
public API is not supported.

#4) After allocating user-defined serials for a lot-serial controlled item following Note 1332302.1 seeing error "Lot-serial quantity does not match transaction quantity" error while transacting using API ?

Please review if the lot and serial information is correct on the allocation from Transact Move Orders form -> Query for the move order -> Click on View/ Update Allocations. It is more likeky that the lot - serial - subinventory - locator information may be incorrect on the allocation. Please correct the same and then, run the transact API again.

#5) Do we need to pass header_id also to the Pick confirm API ?

This issue was fixed in Patch 21796706:R12.INV.B - In Oracle Inventory Management parameter Move order header is mandatory when calling INV_PICK_WAVE_PICK_CONFIRM_PUB.PICK_CONFIRM API
Fixed file version INVPCPWB.pls 120.1.12010000.10 , For more information - Please check Note 1900798.1 / Note 2076025.1 - Inv_pick_wave_pick_confirm_pub.pick_confirm Doesn't Work After Applying Patch:20299616:R12.INV.B

To confirm your file versions, you can use below query -

select * from all_source
where name = 'INV_PICK_WAVE_PICK_CONFIRM_PUB'
and line < 4;

-- 刘轶鹤

标签:move,CONFIRM,INV,PICK,API,Pick,order
From: https://blog.csdn.net/AlexLiu_2019/article/details/143889973

相关文章

  • Python pickle解压时可能存在安全风险
    Pythonpickle解压时可能存在安全风险https://www.codebonobo.tech/post/15#Python%20pickle%E8%A7%A3%E5%8E%8B%E6%97%B6%E5%8F%AF%E8%83%BD%E5%AD%98%E5%9C%A8%E5%AE%89%E5%85%A8%E9%A3%8E%E9%99%A9  如果解压对像中有重构的reduce操作,pickle.loads时会执行reduce方......
  • 前端Vue自定义个性化三级联动自定义简洁中国省市区picker选择器
    一、 前端组件概述前端组件开发在现代前端开发中占据着至关重要的地位。随着互联网的快速发展,前端应用的规模和复杂性不断增加,传统的开发方式已经难以满足需求。前端组件开发应运而生,成为提高开发效率、代码可维护性和可复用性的关键手段。二、 组件化的重要性通过将复......
  • element-ui MessageBox.confirm 取消自动聚焦
    在使用element-ui的MessageBox.confirm方法时,你可能注意到一个细节:当确认框弹出时,确认按钮会自动获得焦点。虽然这种设计在大多数情况下是合理的,但有时我们可能不希望出现这种自动聚焦的行为。解决方案我们可以通过简单的包装来解决这个问题。以下是实现代码:TypeScriptimp......
  • RabbitMQ如何保证发送的消息可靠(RabbitMQ的Confirm模式和2.Return模式)
    RabbitMQ如何保证发送的消息可靠(RabbitMQ的Confirm模式和2.Return模式)1、RabbitMQ消息Confirm模式(保证从生产者到交换机的消息可靠)1.1、Confirm模式简介1.2、具体代码实现1.2.1、application.yml开启确认模式1.2.2、生产者方式1:实现RabbitTemplate.ConfirmCallback生产......
  • el-date-picker设置起止时间间隔与setDate方法
    背景在对时间进行选择时,可能会因为选择的时间范围过大,导致数据量过大从而造成性能和视觉上的体验不佳。解决这个问题,设置可选择的时间的最大间隔,并且在超过间隔时将结束时间改为范围内的日期。解决方法步骤1.将日期字符串转化为Date对象,计算起止时间的时间差(此例子中为31......
  • 鸿蒙Next安全访问新范式:系统Picker与安全控件解析
    本文旨在深入探讨华为鸿蒙HarmonyOSNext系统(截止目前API12)在开发多语言电商平台方面的技术细节,基于实际开发实践进行总结。主要作为技术分享与交流载体,难免错漏,欢迎各位同仁提出宝贵意见和问题,以便共同进步。本文为原创内容,任何形式的转载必须注明出处及原作者。在当今数字化......
  • Python的pickle模块
            pickle是Python标准库中的一个模块,用于对象的序列化(serialization)和反序列化(deserialization)。        序列化是将对象转换为字节流的过程,而反序列化则是从字节流恢复对象的过程。        通过pickle模块,可以将Python对象保存到文件......
  • element-ui 时间组件date-picker 去掉“此刻”二字
    用element-ui的时间组件时,想去掉“此刻”二字官方文档没有提供去掉这个的属性,网上查了一下,主要是通过给这个标签添加css属性,display:none,来隐藏。但是我在组件内的<el-col:span="span"><el-form-item:label="$t('historicalDataRetransmission.taskBeginTime')......
  • Python pickle
    Pythonpicklepickle在python中实现对象结构的序列化和反序列化python序列化(Pickling)是一个将python对象层次结构转换为可以本地储存或者网络传输的字节流的过程python反序列化(unpickling)是将字节流还原为对象层次结构数据序列化:就是把不能直接储存的数据储存到......
  • 题解:[SNCPC2019] Pick Up
    ProblemLink[SNCPC2019]PickUp题意给出甲的坐标和速度,乙的坐标和速度,商场的坐标,可以让乙去接甲,求甲前往商场的最短用时。Solution分类讨论。思考乙是否要去接甲。这个很简单,令\(ans1\)为甲自己出发耗时,\(ans2\)为乙接甲耗时,两者取最小值即可。\(ans1\)很好算,那么\(......