BPM to stop Misc. G/L Accounts on PO

If you are on Epicor 9.0 you can use standard Epicor to do this using Account Entry restriction functions in the general ledger.
It will prompt you when a GL account is restricted in the specified UI.

Gary


From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of mike.numbers
Sent: 10 November 2011 19:43
To: vantage@yahoogroups.com
Subject: [Vantage] BPM to stop Misc. G/L Accounts on PO



I am trying to write BPM that will stop the user from using a Misc. G/L account on a PO (this account is the default for "other" type items). When I ran the trace it looked like I needed the BPM associated with PO.Update. That didn't seem to work. When I ran the trace on the release screen and changed the G/L account, the trace came back empty. Am I running the trace wrong or what am I missing.



[Non-text portions of this message have been removed]
I am trying to write BPM that will stop the user from using a Misc. G/L account on a PO (this account is the default for "other" type items). When I ran the trace it looked like I needed the BPM associated with PO.Update. That didn't seem to work. When I ran the trace on the release screen and changed the G/L account, the trace came back empty. Am I running the trace wrong or what am I missing.
I had to create a BPM that would give a warning when the Misc. G/L account
was used. I had to use a Post-Processing Directive and a query to get this
to work. Here is the code that I used.

for each ttPOHeader where (ttPOHeader.ApprovalStatus = 'A' or
ttPOHeader.ApprovalStatus = 'P') , first PORel where PORel.Company =
ttPOHeader.Company and PORel.PONum = ttPOHeader.PONum and PORel.ExpChart =
'999999' no-lock



Travis L. McMullen
ERP Specialist
ComSonics, Inc.
Harrisonburg, VA 22801
Phone: 540-434-5965 x1274
Toll Free: 1-800-336-9681 x1274
Mobile: 540-435-1920
Fax: 540-434-9847
E-Mail: tmcmullen@...


On Thu, Nov 10, 2011 at 2:43 PM, mike.numbers <mnumbers@...> wrote:

> **
>
>
> I am trying to write BPM that will stop the user from using a Misc. G/L
> account on a PO (this account is the default for "other" type items). When
> I ran the trace it looked like I needed the BPM associated with PO.Update.
> That didn't seem to work. When I ran the trace on the release screen and
> changed the G/L account, the trace came back empty. Am I running the trace
> wrong or what am I missing.
>
>
>


[Non-text portions of this message have been removed]