Does anyone know how to do this in 8.03.405? We want to put a
specific sales order on hold. We do not want to use the customer
credit hold to do this.
-- In vantage@yahoogroups.com, "Lynn" <lynn.khalife@...> wrote:
specific sales order on hold. We do not want to use the customer
credit hold to do this.
-- In vantage@yahoogroups.com, "Lynn" <lynn.khalife@...> wrote:
>a
> Thank Nigel!
>
> I have the Epicor Tools User Guide and I did not understand their
> explanation of Pre-, Base-, and Post-Processing.
>
> Your explanation cleared it up for me.
>
> Lynn
>
> --- In vantage@yahoogroups.com, "Nigel Kerley" <nigel.kerley@>
> wrote:
> >
> > Hi Jeff,
> >
> > At the risk of sounding like I know what I'm talking about ;-) I'll
> > take a stab at answering this.
> >
> > First - sorry, but it needs to be said - get the Tools User Guide.
> I
> > agree that we shouldn't have to pay for it, but it does have some
> > good examples and makes a good starting point. Anyway:
> >
> >
> > Basics:
> > A BPM is basically a piece of code that is triggered by something
> > user does, or causes to be done. A BPM cannot run by itself.Once
> > triggered, the BPM looks at whatever "conditions" have beencreated
> > against it and, if the conditions are matched, "actions" areyou're
> carried
> > out.
> >
> > In your requirement, the trigger would be the user adding a Sales
> > Order onto a Packing Slip, the "condition" would be that this
> > Customer is on Credit Hold, and the "action" would be to cause
> > an "Exception", ie. stop the user continuing.
> >
> >
> > Directives:
> > BPMs can be actioned at one of three specific points:
> > *before* Vantage carries out it's own actions - a "pre-processing"
> > directive. Used to check what the user has entered before letting
> > Vantage continue.
> > *instead* of Vantage's own actions - a "base processing" directive.
> > ABSOLUTELY NOT one you want to use unless you know what
> doing.good
> > *after* Vantage has carried out it's own actions - a "post-
> > processing" directive.
> >
> >
> >
> > Menus:
> > Regarding the Vantage menu options, the only one you will really
> use
> > is Setup | Method Directives. "Hold Type" is used to have Vantage
> put
> > orders/jobs/shipments/etc on hold pending release by a supervisor.
> > Without the Tools User Guide I wouldn't go near this - and anyway
> > we've never had a need for it. The Guide does seem to have a
> > example of this though.if
> >
> > Action Process is the background task that Vantage uses to check
> > BPMs have been triggered. You need to set this to "Continuousignore
> > Processing" with a delay of 1 minute and a schedule of "Now",
> > then "Submit" the process. Once you've submitted it, you can
> > this option.a
> >
> > Directive Update is used to update certain properties on multiple
> > BPMs all at once. Directive Export/Import are useful for copying
> BPMs
> > from your test database into your live one.
> >
> > And while I remember: IMPORTANT: The way Vantage is installed,
> BPMlive
> > created on one database will run on ALL databases on that server.
> So
> > as you are testing new BPMs on your test database (but on your
> > server) they will also be triggered on the live database. Seeand
> message
> > #72077 in the Group for details on how to fix this.
> >
> >
> >
> > Creating a BPM:
> > You didn't set yourself an easy task for your first BPM. I don't
> > think any of the pre-prepared conditions can be used, so you'll
> have
> > to delve into a little 4GL code. If you've done any programming in
> > the past, or created your own Alert Programs for BAMs, then you
> > should be fine.
> >
> > You said you haven't the slightest idea... so I'm going to take
> that
> > literally. Apologies if some of the following is obvious to you,
> but
> > it may be of use to other readers.
> >
> > Open Method Directives (on your test Vantage, obviously!!).
> >
> > The first thing you need to decide is what BO (Business Object)
> > Method to create the directive against. The choice of these isMethod
> > through experience or usually trial & error - I know of no place
> > where they're listed and explained. You want to stop a "Customer
> > Shipment", so the BO you need is "CustShip". So, open the
> > Search search window, select CustShip in the Business Objectfilter
> > and click Search. All the Vantage Methods that are available toof "catch-
> users
> > are listed. These roughly equate to the different actions carried
> out
> > by Vantage when dealing with a Customer Shipment. A kind
> > all" is Update. This Method is called by Vantage whenever it savessaved.
> a
> > packing slip. Select this one and click OK.
> >
> > The next thing you need to decide is the type of directive you want
> > to create. You want to stop Vantage *before* it creates the
> shipment,
> > so add a new Pre-Processing Directive. The fields on this screen
> are
> > explained in the help file, so I won't go into them.
> >
> > This BPM will be called *every* time a Customer Shipment is
> > Becuase it's being run on the server you don't need to worry aboutClick
> > resource overhead or slowing-down(!) Vantage. I have a number of
> BPMs
> > triggered on Sales Orders and my users haven't noticed any
> difference.
> >
> > Now, you need to add the condition(s) so that the action(s) will
> only
> > be carried out on the shipments you want them carried out on.
> > the "conditions..." button, then click the New button. In the drop-is
> > down under UserText select "number of rows in the designed query
> > not less than 1". You want to look at the CreditHold field for thettShipHead.Company =
> > customer, but that field is not readily available in the tables
> > accessable, so you can't use any of the other conditions.
> >
> > Now click on "designed" to bring up the query box. Enter any name
> for
> > the query and enter the following in the query field:
> > for each ttShiphead where ttShipHead.RowMod = 'U' or
> > ttShipHead.RowMod = 'A', each Customer where
> > Customer.Company and ttShipHead.CustNum =Customer.custNum and
> > Customer.CreditHold = true no-lockexception
> >
> > Click Check Query to make sure it's entered ok, then click ok.
> >
> > Change "is not less that" to "is equal to" and click ok.
> >
> > Last, you need to add the action(s) you want carried out if the
> > condition(s) are met. Click the "Actions..." button, then click the
> > New button. In the drop-down under UserText select "raise
> > based on the designed template". Click on "designed" and enterthe
> > details for the message box you want displayed to users if theshipment to
> > Customer is on hold. OK your way back to the Method Directives
> > window. Click "Enabled" and save.
> >
> > Now, whenever the user enters a Sales Order number and tries to
> save
> > the shipment (or clicks Mass Shipment, which causes the
> > be saved), Vantage will trigger the BPM first and check it'sActions
> > conditions/actions.
> >
> >
> > Couple of small points: Get into the habit of always
> clicking "Save"
> > on the Method Directives window. Changing Conditions and
> and<jeff.stockard@>
> > Ok'ing them doesn't update the code. Also, once you do save, the
> > changes are "live", i.e. users don't have to log off/on to activate.
> >
> >
> > Sorry for the long post. I hope I've managed to explain things
> > somewhat clearly.
> >
> > Nigel.
> >
> >
> > --- In vantage@yahoogroups.com, "Jeff Stockard"
> > wrote:and
> > >
> > > I have received for the too manyeth time an answer from
> Epicor "You
> > can
> > > always write a BPM. The Help file is completely useless. In the
> > Business
> > > Process Management, there are 2 folders one is Setup and the
> other
> > is
> > > General Operations. The Setup folder has 2 Icons "Hold Type"
> > and "Method
> > > Directives" . The General Operations has "Directive
> > Import", "Directive
> > > Export", "Directive Update" and "Action Process".
> > >
> > > I do not have even the slightest idea of how to even begin to
> write
> > a BPM
> > > especially with completely non descriptive names like these.
> Could
> > someone
> > > please tell me how to begin to write a BPM? From what I read on
> > the list,
> > > there is an "Epicor Tools User Guide" which of course I do not
> have.
> > > Apparently when you only spend ½ million dollars for software
> > setup, itspend
> > > does not come with a manual and my company does not want to
> > anothermake
> > > $150 on this book.
> > >
> > > I am sorry if I sound a little upset, but I don't believe that I
> > should have
> > > to rewrite Vantage every time development does not want to
> the
> > software
> > > run in a manner that make logical sense in an actual business
> > environment.
> > >
> > > I need to write this to stop Shipping from Shipping Parts to
> > Customers that
> > > are on Credit Hold, but have an Alternate Bill To, that is not on
> > Credit
> > > Hold. Apparently Epicor thinks it is OK to ignore the Stop and
> Warn
> > > messages that are setup if the Customer does not pay their own
> > bills and
> > > they have a Parent company that pays theirs.
> > >
> > > Thank you
> > >
> > > Jeff
> > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
>