BPM - V803.409c

Hi Carl,



What is "{&CALL_DESIGNED_CONDITIONS}"? I have always wondered what it
was for and I think your code is the first time I've ever seen it used.



Linda



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of CarlH
Sent: Monday, October 11, 2010 1:13 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BPM - V803.409c





You have to write some "Advanced" code. Once you are in the advanced
code, you can do a find on the customer table. This will trigger
whatever action you have chosen if the condition is true.

If there is some field of info in the customer table (shipping
instructions, eamil address, etc) that you need, you will ahe to store
it in one of the shiphead.charaterxx fields. then you can use these in
an email or some other way in teh action.

The advanced code would look something like this:

/*Add source code that should be executed before the designed conditions
here*/

find first ttshiphead where ttshiphead.rowmod="U" or
ttshiphead.rowmod="A" no-lock no-error.

if available ttshiphead then do:

find first customer where customer.CustNum = ttshiphead.custnum no-lock
no-error.

if available customer then do:

if customer.character01="Yes" then do:

{&CALL_DESIGNED_CONDITIONS}

end.

end.

end.

/*Add source code that should be executed after the designed conditions
here*/

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"Leifheit, Nancy Ann" <nleifheit@...> wrote:
>
> Ok- I am still confused - how do I get fields from my Customer master
into my BPM? I was told to use CustShip business Object and to a find
statement??
>
> In my Customer shipment screen (even if I have to write it twice) I
would like a message to tell shipping this customer needs a test report
or to print Certs or to send SPC information.
>
> When I look at the BO for CustShip I have to choices 1) OrderNum
2)ShipToList - how do I get to Customer.character01,
customer.character02,customer.character03 = true send message -
"customer needs test report" etc.
>
> Thanks - must be Friday!.
> Nancy
>
> From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of nancy.leifheit
> Sent: Tuesday, October 05, 2010 9:11 AM
> To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] BPM - V803.409c
>
>
>
> Confused as to which Business Object to use. I have 3 checkboxes in my
customer master that indicates customer needs Certs, SPC, or Test
report.
>
> Our procedure was in V610 (Advance Ship-customized) that a message
displayed for those customers that had any or all (3 different
messages).
>
> Now I am trying to duplicate this procedure in V803 using BPM - a
message(s) should display in shipping to let them know they need to
include Cert, Test Report or SPC with packing slip.
>
> Any ideas which Business Object I would use?
>
> Thanks in Advance
>
>
>
> [Non-text portions of this message have been removed]
>





[Non-text portions of this message have been removed]
Confused as to which Business Object to use. I have 3 checkboxes in my customer master that indicates customer needs Certs, SPC, or Test report.

Our procedure was in V610 (Advance Ship-customized) that a message displayed for those customers that had any or all (3 different messages).

Now I am trying to duplicate this procedure in V803 using BPM - a message(s) should display in shipping to let them know they need to include Cert, Test Report or SPC with packing slip.

Any ideas which Business Object I would use?

Thanks in Advance
Probably... custship.POupdate... depends on how early in the process
you want to alert them to the need for documentation..the one I listed
Ive had success with at the tail end (when they check the Shipped check
box.



Rob Bucek

Production Control Manager

PH: (715) 284-5376 ext 311

Mobile: (715)896-0590

FAX: (715)284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site) <http://www.dsmfg.com/>





From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of nancy.leifheit
Sent: Tuesday, October 05, 2010 8:11 AM
To: vantage@yahoogroups.com
Subject: [Vantage] BPM - V803.409c





Confused as to which Business Object to use. I have 3 checkboxes in my
customer master that indicates customer needs Certs, SPC, or Test
report.

Our procedure was in V610 (Advance Ship-customized) that a message
displayed for those customers that had any or all (3 different
messages).

Now I am trying to duplicate this procedure in V803 using BPM - a
message(s) should display in shipping to let them know they need to
include Cert, Test Report or SPC with packing slip.

Any ideas which Business Object I would use?

Thanks in Advance





[Non-text portions of this message have been removed]
Also, something to be wary of.



In 9.05 at least, and I would guess previous versions are like this as well,
it depends on which tab you are on in Customer Shipment Entry, as to whether
it calsl POUpdate or just Update. In other words, if someone is on the
Packout tab and they update, the POUpdate method will be called. If they're
on any of the other tabs (Summary, Header, Lines, etc.), then Update is
called.



Therefore, I find that you have to duplicate the logic in both methods, as
if you have it in only one, it won't trigger all the time based on user
navigation.



Then, to make things a little more complicated, I don't believe both
POUpdate and Update use the same input dataset. Off the top of my head, I
believe POUpdate uses the ttPackout dataset, whereas Update uses ttShipHead,
ttShipDtl.



Hope that helps and doesn't confuse matters more.



Kevin Simon

SimsTrak Consulting



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Rob Bucek
Sent: Tuesday, October 05, 2010 9:39 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] BPM - V803.409c





Probably... custship.POupdate... depends on how early in the process
you want to alert them to the need for documentation..the one I listed
Ive had success with at the tail end (when they check the Shipped check
box.

Rob Bucek

Production Control Manager

PH: (715) 284-5376 ext 311

Mobile: (715)896-0590

FAX: (715)284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site) <http://www.dsmfg.com/>

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of nancy.leifheit
Sent: Tuesday, October 05, 2010 8:11 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] BPM - V803.409c

Confused as to which Business Object to use. I have 3 checkboxes in my
customer master that indicates customer needs Certs, SPC, or Test
report.

Our procedure was in V610 (Advance Ship-customized) that a message
displayed for those customers that had any or all (3 different
messages).

Now I am trying to duplicate this procedure in V803 using BPM - a
message(s) should display in shipping to let them know they need to
include Cert, Test Report or SPC with packing slip.

Any ideas which Business Object I would use?

Thanks in Advance

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





[Non-text portions of this message have been removed]
Good point Kevin, I should have mentioned that..



Rob Bucek

Production Control Manager

PH: (715) 284-5376 ext 311

Mobile: (715)896-0590

FAX: (715)284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site) <http://www.dsmfg.com/>





From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Kevin Simon
Sent: Tuesday, October 05, 2010 9:21 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] BPM - V803.409c





Also, something to be wary of.

In 9.05 at least, and I would guess previous versions are like this as
well,
it depends on which tab you are on in Customer Shipment Entry, as to
whether
it calsl POUpdate or just Update. In other words, if someone is on the
Packout tab and they update, the POUpdate method will be called. If
they're
on any of the other tabs (Summary, Header, Lines, etc.), then Update is
called.

Therefore, I find that you have to duplicate the logic in both methods,
as
if you have it in only one, it won't trigger all the time based on user
navigation.

Then, to make things a little more complicated, I don't believe both
POUpdate and Update use the same input dataset. Off the top of my head,
I
believe POUpdate uses the ttPackout dataset, whereas Update uses
ttShipHead,
ttShipDtl.

Hope that helps and doesn't confuse matters more.

Kevin Simon

SimsTrak Consulting

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
Rob Bucek
Sent: Tuesday, October 05, 2010 9:39 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] BPM - V803.409c

Probably... custship.POupdate... depends on how early in the process
you want to alert them to the need for documentation..the one I listed
Ive had success with at the tail end (when they check the Shipped check
box.

Rob Bucek

Production Control Manager

PH: (715) 284-5376 ext 311

Mobile: (715)896-0590

FAX: (715)284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site) <http://www.dsmfg.com/>

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com> ] On
Behalf
Of nancy.leifheit
Sent: Tuesday, October 05, 2010 8:11 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: [Vantage] BPM - V803.409c

Confused as to which Business Object to use. I have 3 checkboxes in my
customer master that indicates customer needs Certs, SPC, or Test
report.

Our procedure was in V610 (Advance Ship-customized) that a message
displayed for those customers that had any or all (3 different
messages).

Now I am trying to duplicate this procedure in V803 using BPM - a
message(s) should display in shipping to let them know they need to
include Cert, Test Report or SPC with packing slip.

Any ideas which Business Object I would use?

Thanks in Advance

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

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





[Non-text portions of this message have been removed]
Ok- I am still confused - how do I get fields from my Customer master into my BPM? I was told to use CustShip business Object and to a find statement??

In my Customer shipment screen (even if I have to write it twice) I would like a message to tell shipping this customer needs a test report or to print Certs or to send SPC information.

When I look at the BO for CustShip I have to choices 1) OrderNum 2)ShipToList - how do I get to Customer.character01, customer.character02,customer.character03 = true send message - "customer needs test report" etc.

Thanks - must be Friday!.
Nancy

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of nancy.leifheit
Sent: Tuesday, October 05, 2010 9:11 AM
To: vantage@yahoogroups.com
Subject: [Vantage] BPM - V803.409c



Confused as to which Business Object to use. I have 3 checkboxes in my customer master that indicates customer needs Certs, SPC, or Test report.

Our procedure was in V610 (Advance Ship-customized) that a message displayed for those customers that had any or all (3 different messages).

Now I am trying to duplicate this procedure in V803 using BPM - a message(s) should display in shipping to let them know they need to include Cert, Test Report or SPC with packing slip.

Any ideas which Business Object I would use?

Thanks in Advance



[Non-text portions of this message have been removed]
You have to write some "Advanced" code. Once you are in the advanced code, you can do a find on the customer table. This will trigger whatever action you have chosen if the condition is true.

If there is some field of info in the customer table (shipping instructions, eamil address, etc) that you need, you will ahe to store it in one of the shiphead.charaterxx fields. then you can use these in an email or some other way in teh action.

The advanced code would look something like this:

/*Add source code that should be executed before the designed conditions here*/

find first ttshiphead where ttshiphead.rowmod="U" or ttshiphead.rowmod="A" no-lock no-error.

if available ttshiphead then do:

find first customer where customer.CustNum = ttshiphead.custnum no-lock no-error.

if available customer then do:

if customer.character01="Yes" then do:

{&CALL_DESIGNED_CONDITIONS}

end.

end.

end.

/*Add source code that should be executed after the designed conditions here*/






--- In vantage@yahoogroups.com, "Leifheit, Nancy Ann" <nleifheit@...> wrote:
>
> Ok- I am still confused - how do I get fields from my Customer master into my BPM? I was told to use CustShip business Object and to a find statement??
>
> In my Customer shipment screen (even if I have to write it twice) I would like a message to tell shipping this customer needs a test report or to print Certs or to send SPC information.
>
> When I look at the BO for CustShip I have to choices 1) OrderNum 2)ShipToList - how do I get to Customer.character01, customer.character02,customer.character03 = true send message - "customer needs test report" etc.
>
> Thanks - must be Friday!.
> Nancy
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of nancy.leifheit
> Sent: Tuesday, October 05, 2010 9:11 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] BPM - V803.409c
>
>
>
> Confused as to which Business Object to use. I have 3 checkboxes in my customer master that indicates customer needs Certs, SPC, or Test report.
>
> Our procedure was in V610 (Advance Ship-customized) that a message displayed for those customers that had any or all (3 different messages).
>
> Now I am trying to duplicate this procedure in V803 using BPM - a message(s) should display in shipping to let them know they need to include Cert, Test Report or SPC with packing slip.
>
> Any ideas which Business Object I would use?
>
> Thanks in Advance
>
>
>
> [Non-text portions of this message have been removed]
>