【发布时间】:2023-01-10 03:20:13
【问题描述】:
我想根据以下条件停止向销售订单添加新行阿库马提卡.我怎样才能做到这一点。?
我尝试添加以下内容。但它没有用。
protected void SOLine_RowInserting(PXCache 缓存,PXRowInsertingEventArgs e) {
var row = (SOLine)e.Row;
if (row == null) return;
//Condition
if(Condition == true)
{
Base.Transaction.Delete(row);
}
}
【问题讨论】: