AssetMaint_Extension;按下“处置”操作时,状态仍处于活动状态

时间:2019-08-16 12:41:26

标签: acumatica acumatica-kb

页:固定资产(FA303000) 在发生FixedAsset_RowPersisted事件时,我正在运行一个集成过程。

 protected void FixedAsset_RowPersisted(PXCache cache, PXRowPersistedEventArgs e)
    {
     if (Base.Accessinfo.ScreenID == "FA.50.60.00") return;
     FixedAsset row = (FixedAsset)e.Row;
     if (Base.Asset.Cache.GetStatus(row) == PXEntryStatus.Deleted) return;

     DoIntegration();
    }

当单击操作>> 处置按钮时,将调用FixedAsset_RowPersistedevent事件,但状态未更改为“处置”。

什么是最好的/最正确的事件?该事件用于我的整合,因此状态已更改为已处置。

0 个答案:

没有答案