Brian,
Talk about a DUH moment... never even thought to look there. As it turns out, though, that's a hard stop and there are times when we actually want to use a PO number on multiple orders.
Thanks!
Ernie
Talk about a DUH moment... never even thought to look there. As it turns out, though, that's a hard stop and there are times when we actually want to use a PO number on multiple orders.
Thanks!
Ernie
--- In vantage@yahoogroups.com, "Brian Roberts" <broberts@...> wrote:
>
> Have you looked at this instead? Customer Maintenance, Detail tab, the
> "Check Dup PO" field. Sounds like what you want.
>
> Brian.
>
>
>
> ________________________________
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of Elizabeth
> Sent: Tuesday, April 12, 2011 10:20 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Check for Duplicate customer PO on Sales Order
>
>
>
>
>
> I'm trying to add a warning message if a sales rep uses a customer PO
> Number on multiple sales orders. The query works when I run it outside
> the Data Directive, and it seems to kick off during sales order entry
> (at least the hourglass takes longer when the BPM is enabled), but I
> don't get the warning message.
>
> Data Directive, OrderHed table, In-Transaction
> Condition: Number of rows in query is more than 0
> Query:
> for each ttOrderHed no-lock , each OrderHed where ttOrderHed.Company =
> OrderHed.Company AND ttOrderHed.CustNum = OrderHed.CustNum AND
> ttOrderHed.PONum = OrderHed.PONum
> Action : raise exception (I'll change that to show a warning once it's
> working)
>
> What am I missing?
>
> Ernie Lowell
> Diba Industries
>
>
>
>
>
> [Non-text portions of this message have been removed]
>