> Do a Trace and find out what method it callsSorry, I forgot to mention I'd already tried traces & BPM messages.
The trace only gives this method:
<businessObject>Epicor.Mfg.BO.CustShip
<methodName>Update
And the stock error message referecnes this.
Program: Server/bo/CustShip.p
Method: beforeUpdate
I haven't been able to find a "beforeUpdate".
I'm wondering if there is some trick to it, or maybe it's just something that isn't exposed to us.
--- In vantage@yahoogroups.com, Jose Gomez <jose@...> wrote:
>
> Sure,
> Do a Trace and find out what method it calls to check the negative inventory
> Then Go to BPM and add New Post Processing Directive wherre you set the
> variable iMessage, or message (it will be one of the variables available)
> with your own custom message.
>
> Something like
> Post Processing Directive
> Condition: Message <> ''
> Action 4GL Action: Assign Message ='Yoiur new Message'.
>
>
>
>
> *Jose C Gomez*
> *Software Engineer*
> *
> *
> *
> *T: 904.469.1524 mobile
> E: jose@...
> http://www.josecgomez.com
> <http://www.linkedin.com/in/josecgomez> <http://www.facebook.com/josegomez>
> <http://www.google.com/profiles/jose.gomez> <http://www.twitter.com/joc85>
> <http://www.josecgomez.com/professional-resume/>
> <http://www.josecgomez.com/feed/>
> <http://www.usdoingstuff.com>
>
> *Quis custodiet ipsos custodes?*
>
>
>
> On Sun, Oct 7, 2012 at 8:25 PM, b_ordway <cooner_55421@...> wrote:
>
> > **
> >
> >
> > Hi,
> >
> > We have the Part Classes set to "Stop" negative inventory.
> > I want to modify the stock error message or replace it with one of my own.
> > So far no luck with anything I've looked at. Anybody know if this would be
> > possible? V8.03.904C
> >
> > Thanks
> >
> > Exception caught in: Epicor.Mfg.BO.CustShip
> > Error Detail
> > ============
> > Message: Lines: 1 - This transaction will result in a negative onhand
> > quantity for the bin.
> > Type: Error
> > Program: bo/CustShip.p
> > Method: beforeUpdate
> > Table: ShipDtl
> > Row:
> > Field: DisplayInvQty
> >
> > Stack Trace
> > ===========
> > at Epicor.Mfg.Proxy.CustShipImpl.Update(CustShipDataSet ds)
> > at Epicor.Mfg.UI.Adapters.CustShipAdapter.Update()
> > at Epicor.Mfg.UI.App.CustShipEntry.Transaction.Update()
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>