zoukankan
html css js c++ java
锁定库位
有时候需要锁定某个库位不允许其出库或者入库,可以通过 库存管理->设置->库存细分->位置->其他->锁定->输入已锁定或者输出已锁定来设置.
在InventMovent的
checkLocationBlocking
方法中可以看到它的逻辑:
boolean checkLocationBlocking(InventDim inventDimLocation
=
null
)
{
boolean ret
=
true
;
WMSLocation WMSLocation;
InventDim inventDimThis;
;
if
(
!
this
.mustCheckLocationBlocking())
return
true
;
inventDimThis
=
inventDimLocation;
if
(
!
inventDimLocation.wMSLocationId)
{
inventDimThis
=
this
.inventdim();
if
(
!
inventDimThis.wMSLocationId)
return
true
;
}
WMSLocation
=
inventDimThis.WMSLocation();
if
(
!
WMSLocation)
return
true
;
if
(WMSLocation.InputBlockingCauseId
&&
this
.transQty()
>
0
)
ret
=
checkFailed(strfmt(
"
@SYS72264
"
, inventDimThis.wMSLocationId));
if
(WMSLocation.OutputBlockingCauseId
&&
this
.transQty()
<
0
)
ret
=
checkFailed(strfmt(
"
@SYS72265
"
, inventDimThis.wMSLocationId));
return
ret;
}
AX对于一些逻辑的处理,大部分通过是否来判定,比如是否过账财务库存之类的,而有一些是通过有无来判定,比如是否锁定,它就取决于是否选择了锁定库位的理由来判定,类似的还有是否过账到折扣科目也是通过是否选择了折扣科目来处理的.
个人觉得还是通过是否来判断比较好,无非加个字段而已.
查看全文
相关阅读:
数据库基础
(转)数据流图
(转)SQL执行顺序
(转)数据库隔离级别及实现原理
(转)求单链表是否有环,环入口和环长
(转)最长公共子序列
(转)Java锁、自旋锁、CAS机制
Java线程状态转换
OpenSUSE 13.2安装Texlive2014+Texmaker+Lyx
GIMP也疯狂之动态图的制作(四)
原文地址:https://www.cnblogs.com/Farseer1215/p/1085955.html
最新文章
基于impi zabbix监控r720 测试过程
zabbix 4.2 安装教程
内存化作硬盘使用
虚拟机linux系统 硬盘/root路径扩容
linux子网掩码优化配置
解决虚拟机克隆的linux系统ip无法正常使用问题
添加指定的域名跳转
SQL server 数据库镜像删除如何操作
HTML5 canvas画图
全解排序算法
热门文章
算法的复杂度
前端技术-布局解决方案
前端技术-HTML页面的加载
前端技术-前端优化
js面向对象理解
js 时间戳转为日期格式
JS BOM简列
JavaScript跨域
(转)Java多线程系列目录
(转)c/c++内存对齐问题
Copyright © 2011-2022 走看看