Thank you Greg. That worked perfectly.
We need to prevent PO's from being Generated from Buyer's Workbench for parts that have a Zero Cost.
I've tried a few BPM's but have not been able to find the right Method.
ideas??
Thanks,
I have something similar on POSugg.Update that checks when the buy checkbox is set. the condition is the same and I made a quick run at the abl code.
HTH
Greg
condition:
the ttSugPoDtl.Buy field has been changed from false to true
Action:
for each ttSugPODtl where ttSugPODtl.RowMod = "U" and (ttSugPODtl.UnitPrice = 0.0 or ttSugPODtl.DocUnitPrice = 0.0 ):
{lib/PublishEx.i &ExMsg = "'You cannot change this suggestion to a BUY with zero cost.'" &ExType = {&MESSAGE_ERR}}
RETURN.
end.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
On Behalf Of khilborn@...
Sent: Friday, January 03, 2014 9:46 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Prevent PO Generation for Parts with Zero Cost???
We need to prevent PO's from being Generated from Buyer's Workbench for parts that have a Zero Cost.
I've tried a few BPM's but have not been able to find the right Method.
ideas??
Thanks,
CONFIDENTIALITY NOTICE
The information contained in this communication, including attachments, is privileged and confidential. It is intended only for the exclusive use of the addressee. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us at 727-578-6280 and immediately delete the communication.
"This (document/presentation) may contain technical data as defined in the International Traffic In Arms Regulations (ITAR) 22 CFR 120.10. Export of this material is restricted by the Arms Export Control Act (22 U.S.C. 2751 et seq.) and may not be exported to foreign persons without prior approval form the U.S. Department of State."