Hi Nigel
Used your BPM code as directed and works perfectly, brilliant!
Many thanks
Mark Lawrence
Used your BPM code as directed and works perfectly, brilliant!
Many thanks
Mark Lawrence
--- In vantage@yahoogroups.com, "Nigel Kerley" <nigel.kerley@...> wrote:
>
> Hi Mark,
>
> I'd use a BPM.
>
> I'd create a pre-processing directive against the
> SalesOrder.ChangeCustomer BO.
>
> Condition: number of rows in the <query> is equal to one
> query: for each ttOrderHed no-lock, each Customer no-lock where
> ttOrderHed.Company = Customer.Company and ttOrderHed.CustNum =
> Customer.CustNum and Customer.NoContact = true
>
> Action: raise an exception
>
>
> HTH,
>
> Nigel.
>
> --- In vantage@yahoogroups.com, "teaglem" <teaglem@> wrote:
> >
> > Hello
> >
> > As there doesn't seem to be a way to "Close" a customer record in
> > Vantage we use the "No Contact" flag to remove them from searches
> etc.
> >
> > What I would like to do is prevent sales orders from being created
> > against those customers, eg if a customer has "No Contact" flagged
> > then a message appears in the order creation screen to warn the
> user.
> >
> > Can anyone help with this please? We are on Vantage 8.03.405a
> >
> > Many Thanks
> >
> > Mark Lawrence
> > Teagle Machinery Ltd
> >
>