BPM in Issue Material

Post-Process.

Travis L. McMullen
Senior Information Systems Support Technician
ComSonics, Inc.
Harrisonburg, VA 22801
Phone: 540-434-5965 x1274
Toll Free: 1-800-336-9681 x1274
Mobile: 540-435-1920
Fax: 540-434-9847
E-Mail: tmcmullen@...


On Thu, Aug 18, 2011 at 6:41 PM, Ephraim Feldman <effgroups@...>wrote:

> **
>
>
> Did you do the BPM in pre-process or in post-process?
>
> On Wed, Aug 17, 2011 at 11:44 AM, McMullen, Travis
> <tmcmullen@...>wrote:
>
> > I checked the appserver logs and there were no errors, it's just not
> > executing the code. If it is executing the code, something in the Issue
> > Material screen is changing the value back.
> >
> > Travis L. McMullen
> > Senior Information Systems Support Technician
> > ComSonics, Inc.
> > Harrisonburg, VA 22801
> > Phone: 540-434-5965 x1274
> > Toll Free: 1-800-336-9681 x1274
> > Mobile: 540-435-1920
> > Fax: 540-434-9847
> > E-Mail: tmcmullen@...
> >
> >
> > On Wed, Aug 17, 2011 at 10:56 AM, reptcon <cheins@...> wrote:
> >
> > > **
> > >
> > >
> > > Travis, is the (From?)BinNum valid in the warehouse you are changing
> to?
> > If
> > > not the BO might reject it. You could check your appserver log to see
> if
> > > there are any error message. They don't always ripple back to the
> client
> > > session.
> > >
> > >
> > > --- In vantage@yahoogroups.com, "McMullen, Travis" <tmcmullen@...>
> > wrote:
> > > >
> > > > An extra note. I know the OnChangePartNum BPM is being triggered
> > because
> > > I
> > > > added information messages that are appearing after the part number
> is
> > > > entered.
> > > >
> > > > Travis L. McMullen
> > > > Senior Information Systems Support Technician
> > > > ComSonics, Inc.
> > > > Harrisonburg, VA 22801
> > > > Phone: 540-434-5965 x1274
> > > > Toll Free: 1-800-336-9681 x1274
> > > > Mobile: 540-435-1920
> > > > Fax: 540-434-9847
> > > > E-Mail: tmcmullen@...
> > >
> > > >
> > > >
> > > > On Tue, Aug 16, 2011 at 2:41 PM, McMullen, Travis
> > > > <tmcmullen@...>wrote:
> > >
> > > >
> > > > > The only conditions that I am using are related to the User ID that
> > is
> > > > > calling the method. The code is as follows.
> > > > >
> > > > > find first ttIssueReturn where ttIssueReturn.RowMod = "U":U
> > > > > no-lock no-error.
> > > > > if available ttIssueReturn and ttissuereturn.ToJobSeq = 10 then do:
> > > > > find first JobHead where JobHead.Company = Cur-COMP and
> > JobHead.JobNum
> > > =
> > > > > ttIssueReturn.ToJobNum
> > > > > no-lock no-error.
> > > > > if available JobHead and JobHead.ProdCode = "101" then
> > > > > ttIssueReturn.FromWarehousecode = "VAMB-101".
> > > > > if available JobHead and JobHead.Prodcode = "102" then
> > > > > ttIssueReturn.FromWarehouseCode = "VAMB-102".
> > > > > if available JobHead and JobHead.Prodcode = "103" then
> > > > > ttIssueReturn.FromWarehouseCode = "VAMB-103".
> > > > > if available JobHead and JobHead.Prodcode = "105" then
> > > > > ttIssueReturn.FromWarehouseCode = "VAMB-105".
> > > > > if available JobHead and JobHead.Prodcode = "107" then
> > > > > ttIssueReturn.FromWarehouseCode = "VAMB-107".
> > > > > if available JobHead and JobHead.Prodcode = "110" then
> > > > > ttIssueReturn.FromWarehouseCode = "VAMB-110".
> > > > > if available JobHead and JobHead.ProdCode = "250" then
> > > > > ttIssueReturn.FromWarehouseCode = "VAMB-250".
> > > > > end.
> > > > > Else if available ttIssueReturn and ttIssueReturn.ToJobSeq = 30 or
> > > > > ttIssueReturn.tojobseq = 40 or ttIssueReturn.ToJobSeq = 60 then do:
> > > > > find first JobHead where JobHead.Company = CUR-COMP and
> > JobHead.JobNum
> > > =
> > > > > ttIssueReturn.ToJobNum
> > > > > no-lock no-error.
> > > > > if available JobHead and JobHead.ProdCode = "250" then
> > > > > ttIssueReturn.FromWarehouseCode = "VAMB-250".
> > > > > end.
> > > > >
> > > > > Travis L. McMullen
> > > > > Senior Information Systems Support Technician
> > > > > ComSonics, Inc.
> > > > > Harrisonburg, VA 22801
> > > > > Phone: 540-434-5965 x1274
> > > > > Toll Free: 1-800-336-9681 x1274
> > > > > Mobile: 540-435-1920
> > > > > Fax: 540-434-9847
> > > > > E-Mail: tmcmullen@...
> > >
> > > > >
> > > > >
> > > > >
> > > > > On Tue, Aug 16, 2011 at 2:32 PM, Waffqle <waffqle@...> wrote:
> > > > >
> > > > >> What's your code look like? Do you have any conditions on your
> BPM?
> > > > >>
> > > > >> On Tue, Aug 16, 2011 at 2:27 PM, subzerovi <tmcmullen@...>
> > >
> > > > >> wrote:
> > > > >>
> > > > >> > **
> > > > >> >
> > > > >> >
> > > > >> > I am attempting to create a BPM in the Issue Material screen
> that
> > > will
> > > > >> > change the warehouse we are issuing from based on the Product
> Code
> > > of
> > > > >> the
> > > > >> > Job. I have working code, however, I want to place it in the
> > > > >> > IssueReturn.OnChangePartNum Business Method.
> > > > >> >
> > > > >> > The code doesn't seem to work on this business method even
> though
> > it
> > > > >> > validates ok. It seems that the Issue Material screen has some
> > logic
> > > > >> behind
> > > > >> > it that will not allow my BPM to change the warehouse field. I
> had
> > > to
> > > > >> put my
> > > > >> > code in the IssueReturn.OnChangeFromBin Business Method in order
> > for
> > > it
> > > > >> to
> > > > >> > work.
> > > > >> >
> > > > >> > While my users were testing this, they found an issue that I
> need
> > to
> > > > >> find a
> > > > >> > way to resolve. However, if I could put my code in the
> > > OnChangePartNum,
> > > > >> I'm
> > > > >> > pretty sure it would no longer be an issue.
> > > > >> >
> > > > >> > Does anyone know how I can attach this BPM to the Business
> Method
> > > and
> > > > >> make
> > > > >> > it work?
> > > > >> >
> > > > >> >
> > > > >> >
> > > > >>
> > > > >>
> > > > >>
> > > > >> --
> > > > >> *Waffqle Driggers*
> > > > >> *High End Dev, System Design, Profit Drinking
> > > > >> *
> > > > >> *:: 904.962.2887*
> > > > >> *:: waffqle@...*
> > >
> > > > >> *:: NO FAXES*
> > > > >>
> > > > >> *
> > > > >>
> > > > >> *
> > > > >>
> > > > >>
> > > > >> [Non-text portions of this message have been removed]
> > > > >>
> > > > >>
> > > > >>
> > > > >> ------------------------------------
> > > > >>
> > > > >> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> > must
> > > > >> have already linked your email address to a yahoo id to enable
> > access.
> > > )
> > > > >> (1) To access the Files Section of our Yahoo!Group for Report
> > Builder
> > > and
> > > > >> Crystal Reports and other 'goodies', please goto:
> > > > >> http://groups.yahoo.com/group/vantage/files/.
> > > > >> (2) To search through old msg's goto:
> > > > >> http://groups.yahoo.com/group/vantage/messages
> > > > >> (3) To view links to Vendors that provide Vantage services goto:
> > > > >> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > > > >>
> > > > >>
> > > > >>
> > > > >>
> > > > >
> > > >
> > > >
> > > > [Non-text portions of this message have been removed]
> > > >
> > >
> > >
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
> >
> >
> > ------------------------------------
> >
> > Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> have
> > already linked your email address to a yahoo id to enable access. )
> > (1) To access the Files Section of our Yahoo!Group for Report Builder and
> > Crystal Reports and other 'goodies', please goto:
> > http://groups.yahoo.com/group/vantage/files/.
> > (2) To search through old msg's goto:
> > http://groups.yahoo.com/group/vantage/messages
> > (3) To view links to Vendors that provide Vantage services goto:
> > http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
>
>


[Non-text portions of this message have been removed]
I am attempting to create a BPM in the Issue Material screen that will change the warehouse we are issuing from based on the Product Code of the Job. I have working code, however, I want to place it in the IssueReturn.OnChangePartNum Business Method.

The code doesn't seem to work on this business method even though it validates ok. It seems that the Issue Material screen has some logic behind it that will not allow my BPM to change the warehouse field. I had to put my code in the IssueReturn.OnChangeFromBin Business Method in order for it to work.

While my users were testing this, they found an issue that I need to find a way to resolve. However, if I could put my code in the OnChangePartNum, I'm pretty sure it would no longer be an issue.

Does anyone know how I can attach this BPM to the Business Method and make it work?
What's your code look like? Do you have any conditions on your BPM?

On Tue, Aug 16, 2011 at 2:27 PM, subzerovi <tmcmullen@...> wrote:

> **
>
>
> I am attempting to create a BPM in the Issue Material screen that will
> change the warehouse we are issuing from based on the Product Code of the
> Job. I have working code, however, I want to place it in the
> IssueReturn.OnChangePartNum Business Method.
>
> The code doesn't seem to work on this business method even though it
> validates ok. It seems that the Issue Material screen has some logic behind
> it that will not allow my BPM to change the warehouse field. I had to put my
> code in the IssueReturn.OnChangeFromBin Business Method in order for it to
> work.
>
> While my users were testing this, they found an issue that I need to find a
> way to resolve. However, if I could put my code in the OnChangePartNum, I'm
> pretty sure it would no longer be an issue.
>
> Does anyone know how I can attach this BPM to the Business Method and make
> it work?
>
>
>



--
*Waffqle Driggers*
*High End Dev, System Design, Profit Drinking
*
*:: 904.962.2887*
*:: waffqle@...*
*:: NO FAXES*

*

*


[Non-text portions of this message have been removed]
The only conditions that I am using are related to the User ID that is
calling the method. The code is as follows.

find first ttIssueReturn where ttIssueReturn.RowMod = "U":U
no-lock no-error.
if available ttIssueReturn and ttissuereturn.ToJobSeq = 10 then do:
find first JobHead where JobHead.Company = Cur-COMP and JobHead.JobNum =
ttIssueReturn.ToJobNum
no-lock no-error.
if available JobHead and JobHead.ProdCode = "101" then
ttIssueReturn.FromWarehousecode = "VAMB-101".
if available JobHead and JobHead.Prodcode = "102" then
ttIssueReturn.FromWarehouseCode = "VAMB-102".
if available JobHead and JobHead.Prodcode = "103" then
ttIssueReturn.FromWarehouseCode = "VAMB-103".
if available JobHead and JobHead.Prodcode = "105" then
ttIssueReturn.FromWarehouseCode = "VAMB-105".
if available JobHead and JobHead.Prodcode = "107" then
ttIssueReturn.FromWarehouseCode = "VAMB-107".
if available JobHead and JobHead.Prodcode = "110" then
ttIssueReturn.FromWarehouseCode = "VAMB-110".
if available JobHead and JobHead.ProdCode = "250" then
ttIssueReturn.FromWarehouseCode = "VAMB-250".
end.
Else if available ttIssueReturn and ttIssueReturn.ToJobSeq = 30 or
ttIssueReturn.tojobseq = 40 or ttIssueReturn.ToJobSeq = 60 then do:
find first JobHead where JobHead.Company = CUR-COMP and JobHead.JobNum =
ttIssueReturn.ToJobNum
no-lock no-error.
if available JobHead and JobHead.ProdCode = "250" then
ttIssueReturn.FromWarehouseCode = "VAMB-250".
end.

Travis L. McMullen
Senior Information Systems Support Technician
ComSonics, Inc.
Harrisonburg, VA 22801
Phone: 540-434-5965 x1274
Toll Free: 1-800-336-9681 x1274
Mobile: 540-435-1920
Fax: 540-434-9847
E-Mail: tmcmullen@...


On Tue, Aug 16, 2011 at 2:32 PM, Waffqle <waffqle@...> wrote:

> What's your code look like? Do you have any conditions on your BPM?
>
> On Tue, Aug 16, 2011 at 2:27 PM, subzerovi <tmcmullen@...>
> wrote:
>
> > **
> >
> >
> > I am attempting to create a BPM in the Issue Material screen that will
> > change the warehouse we are issuing from based on the Product Code of the
> > Job. I have working code, however, I want to place it in the
> > IssueReturn.OnChangePartNum Business Method.
> >
> > The code doesn't seem to work on this business method even though it
> > validates ok. It seems that the Issue Material screen has some logic
> behind
> > it that will not allow my BPM to change the warehouse field. I had to put
> my
> > code in the IssueReturn.OnChangeFromBin Business Method in order for it
> to
> > work.
> >
> > While my users were testing this, they found an issue that I need to find
> a
> > way to resolve. However, if I could put my code in the OnChangePartNum,
> I'm
> > pretty sure it would no longer be an issue.
> >
> > Does anyone know how I can attach this BPM to the Business Method and
> make
> > it work?
> >
> >
> >
>
>
>
> --
> *Waffqle Driggers*
> *High End Dev, System Design, Profit Drinking
> *
> *:: 904.962.2887*
> *:: waffqle@...*
> *:: NO FAXES*
>
> *
>
> *
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
>


[Non-text portions of this message have been removed]
An extra note. I know the OnChangePartNum BPM is being triggered because I
added information messages that are appearing after the part number is
entered.

Travis L. McMullen
Senior Information Systems Support Technician
ComSonics, Inc.
Harrisonburg, VA 22801
Phone: 540-434-5965 x1274
Toll Free: 1-800-336-9681 x1274
Mobile: 540-435-1920
Fax: 540-434-9847
E-Mail: tmcmullen@...


On Tue, Aug 16, 2011 at 2:41 PM, McMullen, Travis
<tmcmullen@...>wrote:

> The only conditions that I am using are related to the User ID that is
> calling the method. The code is as follows.
>
> find first ttIssueReturn where ttIssueReturn.RowMod = "U":U
> no-lock no-error.
> if available ttIssueReturn and ttissuereturn.ToJobSeq = 10 then do:
> find first JobHead where JobHead.Company = Cur-COMP and JobHead.JobNum =
> ttIssueReturn.ToJobNum
> no-lock no-error.
> if available JobHead and JobHead.ProdCode = "101" then
> ttIssueReturn.FromWarehousecode = "VAMB-101".
> if available JobHead and JobHead.Prodcode = "102" then
> ttIssueReturn.FromWarehouseCode = "VAMB-102".
> if available JobHead and JobHead.Prodcode = "103" then
> ttIssueReturn.FromWarehouseCode = "VAMB-103".
> if available JobHead and JobHead.Prodcode = "105" then
> ttIssueReturn.FromWarehouseCode = "VAMB-105".
> if available JobHead and JobHead.Prodcode = "107" then
> ttIssueReturn.FromWarehouseCode = "VAMB-107".
> if available JobHead and JobHead.Prodcode = "110" then
> ttIssueReturn.FromWarehouseCode = "VAMB-110".
> if available JobHead and JobHead.ProdCode = "250" then
> ttIssueReturn.FromWarehouseCode = "VAMB-250".
> end.
> Else if available ttIssueReturn and ttIssueReturn.ToJobSeq = 30 or
> ttIssueReturn.tojobseq = 40 or ttIssueReturn.ToJobSeq = 60 then do:
> find first JobHead where JobHead.Company = CUR-COMP and JobHead.JobNum =
> ttIssueReturn.ToJobNum
> no-lock no-error.
> if available JobHead and JobHead.ProdCode = "250" then
> ttIssueReturn.FromWarehouseCode = "VAMB-250".
> end.
>
> Travis L. McMullen
> Senior Information Systems Support Technician
> ComSonics, Inc.
> Harrisonburg, VA 22801
> Phone: 540-434-5965 x1274
> Toll Free: 1-800-336-9681 x1274
> Mobile: 540-435-1920
> Fax: 540-434-9847
> E-Mail: tmcmullen@...
>
>
>
> On Tue, Aug 16, 2011 at 2:32 PM, Waffqle <waffqle@...> wrote:
>
>> What's your code look like? Do you have any conditions on your BPM?
>>
>> On Tue, Aug 16, 2011 at 2:27 PM, subzerovi <tmcmullen@...>
>> wrote:
>>
>> > **
>> >
>> >
>> > I am attempting to create a BPM in the Issue Material screen that will
>> > change the warehouse we are issuing from based on the Product Code of
>> the
>> > Job. I have working code, however, I want to place it in the
>> > IssueReturn.OnChangePartNum Business Method.
>> >
>> > The code doesn't seem to work on this business method even though it
>> > validates ok. It seems that the Issue Material screen has some logic
>> behind
>> > it that will not allow my BPM to change the warehouse field. I had to
>> put my
>> > code in the IssueReturn.OnChangeFromBin Business Method in order for it
>> to
>> > work.
>> >
>> > While my users were testing this, they found an issue that I need to
>> find a
>> > way to resolve. However, if I could put my code in the OnChangePartNum,
>> I'm
>> > pretty sure it would no longer be an issue.
>> >
>> > Does anyone know how I can attach this BPM to the Business Method and
>> make
>> > it work?
>> >
>> >
>> >
>>
>>
>>
>> --
>> *Waffqle Driggers*
>> *High End Dev, System Design, Profit Drinking
>> *
>> *:: 904.962.2887*
>> *:: waffqle@...*
>> *:: NO FAXES*
>>
>> *
>>
>> *
>>
>>
>> [Non-text portions of this message have been removed]
>>
>>
>>
>> ------------------------------------
>>
>> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
>> have already linked your email address to a yahoo id to enable access. )
>> (1) To access the Files Section of our Yahoo!Group for Report Builder and
>> Crystal Reports and other 'goodies', please goto:
>> http://groups.yahoo.com/group/vantage/files/.
>> (2) To search through old msg's goto:
>> http://groups.yahoo.com/group/vantage/messages
>> (3) To view links to Vendors that provide Vantage services goto:
>> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>>
>>
>>
>>
>


[Non-text portions of this message have been removed]
Travis, is the (From?)BinNum valid in the warehouse you are changing to? If not the BO might reject it. You could check your appserver log to see if there are any error message. They don't always ripple back to the client session.


--- In vantage@yahoogroups.com, "McMullen, Travis" <tmcmullen@...> wrote:
>
> An extra note. I know the OnChangePartNum BPM is being triggered because I
> added information messages that are appearing after the part number is
> entered.
>
> Travis L. McMullen
> Senior Information Systems Support Technician
> ComSonics, Inc.
> Harrisonburg, VA 22801
> Phone: 540-434-5965 x1274
> Toll Free: 1-800-336-9681 x1274
> Mobile: 540-435-1920
> Fax: 540-434-9847
> E-Mail: tmcmullen@...
>
>
> On Tue, Aug 16, 2011 at 2:41 PM, McMullen, Travis
> <tmcmullen@...>wrote:
>
> > The only conditions that I am using are related to the User ID that is
> > calling the method. The code is as follows.
> >
> > find first ttIssueReturn where ttIssueReturn.RowMod = "U":U
> > no-lock no-error.
> > if available ttIssueReturn and ttissuereturn.ToJobSeq = 10 then do:
> > find first JobHead where JobHead.Company = Cur-COMP and JobHead.JobNum =
> > ttIssueReturn.ToJobNum
> > no-lock no-error.
> > if available JobHead and JobHead.ProdCode = "101" then
> > ttIssueReturn.FromWarehousecode = "VAMB-101".
> > if available JobHead and JobHead.Prodcode = "102" then
> > ttIssueReturn.FromWarehouseCode = "VAMB-102".
> > if available JobHead and JobHead.Prodcode = "103" then
> > ttIssueReturn.FromWarehouseCode = "VAMB-103".
> > if available JobHead and JobHead.Prodcode = "105" then
> > ttIssueReturn.FromWarehouseCode = "VAMB-105".
> > if available JobHead and JobHead.Prodcode = "107" then
> > ttIssueReturn.FromWarehouseCode = "VAMB-107".
> > if available JobHead and JobHead.Prodcode = "110" then
> > ttIssueReturn.FromWarehouseCode = "VAMB-110".
> > if available JobHead and JobHead.ProdCode = "250" then
> > ttIssueReturn.FromWarehouseCode = "VAMB-250".
> > end.
> > Else if available ttIssueReturn and ttIssueReturn.ToJobSeq = 30 or
> > ttIssueReturn.tojobseq = 40 or ttIssueReturn.ToJobSeq = 60 then do:
> > find first JobHead where JobHead.Company = CUR-COMP and JobHead.JobNum =
> > ttIssueReturn.ToJobNum
> > no-lock no-error.
> > if available JobHead and JobHead.ProdCode = "250" then
> > ttIssueReturn.FromWarehouseCode = "VAMB-250".
> > end.
> >
> > Travis L. McMullen
> > Senior Information Systems Support Technician
> > ComSonics, Inc.
> > Harrisonburg, VA 22801
> > Phone: 540-434-5965 x1274
> > Toll Free: 1-800-336-9681 x1274
> > Mobile: 540-435-1920
> > Fax: 540-434-9847
> > E-Mail: tmcmullen@...
> >
> >
> >
> > On Tue, Aug 16, 2011 at 2:32 PM, Waffqle <waffqle@...> wrote:
> >
> >> What's your code look like? Do you have any conditions on your BPM?
> >>
> >> On Tue, Aug 16, 2011 at 2:27 PM, subzerovi <tmcmullen@...>
> >> wrote:
> >>
> >> > **
> >> >
> >> >
> >> > I am attempting to create a BPM in the Issue Material screen that will
> >> > change the warehouse we are issuing from based on the Product Code of
> >> the
> >> > Job. I have working code, however, I want to place it in the
> >> > IssueReturn.OnChangePartNum Business Method.
> >> >
> >> > The code doesn't seem to work on this business method even though it
> >> > validates ok. It seems that the Issue Material screen has some logic
> >> behind
> >> > it that will not allow my BPM to change the warehouse field. I had to
> >> put my
> >> > code in the IssueReturn.OnChangeFromBin Business Method in order for it
> >> to
> >> > work.
> >> >
> >> > While my users were testing this, they found an issue that I need to
> >> find a
> >> > way to resolve. However, if I could put my code in the OnChangePartNum,
> >> I'm
> >> > pretty sure it would no longer be an issue.
> >> >
> >> > Does anyone know how I can attach this BPM to the Business Method and
> >> make
> >> > it work?
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> *Waffqle Driggers*
> >> *High End Dev, System Design, Profit Drinking
> >> *
> >> *:: 904.962.2887*
> >> *:: waffqle@...*
> >> *:: NO FAXES*
> >>
> >> *
> >>
> >> *
> >>
> >>
> >> [Non-text portions of this message have been removed]
> >>
> >>
> >>
> >> ------------------------------------
> >>
> >> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> >> have already linked your email address to a yahoo id to enable access. )
> >> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> >> Crystal Reports and other 'goodies', please goto:
> >> http://groups.yahoo.com/group/vantage/files/.
> >> (2) To search through old msg's goto:
> >> http://groups.yahoo.com/group/vantage/messages
> >> (3) To view links to Vendors that provide Vantage services goto:
> >> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> >>
> >>
> >>
> >>
> >
>
>
> [Non-text portions of this message have been removed]
>
I checked the appserver logs and there were no errors, it's just not
executing the code. If it is executing the code, something in the Issue
Material screen is changing the value back.

Travis L. McMullen
Senior Information Systems Support Technician
ComSonics, Inc.
Harrisonburg, VA 22801
Phone: 540-434-5965 x1274
Toll Free: 1-800-336-9681 x1274
Mobile: 540-435-1920
Fax: 540-434-9847
E-Mail: tmcmullen@...


On Wed, Aug 17, 2011 at 10:56 AM, reptcon <cheins@...> wrote:

> **
>
>
> Travis, is the (From?)BinNum valid in the warehouse you are changing to? If
> not the BO might reject it. You could check your appserver log to see if
> there are any error message. They don't always ripple back to the client
> session.
>
>
> --- In vantage@yahoogroups.com, "McMullen, Travis" <tmcmullen@...> wrote:
> >
> > An extra note. I know the OnChangePartNum BPM is being triggered because
> I
> > added information messages that are appearing after the part number is
> > entered.
> >
> > Travis L. McMullen
> > Senior Information Systems Support Technician
> > ComSonics, Inc.
> > Harrisonburg, VA 22801
> > Phone: 540-434-5965 x1274
> > Toll Free: 1-800-336-9681 x1274
> > Mobile: 540-435-1920
> > Fax: 540-434-9847
> > E-Mail: tmcmullen@...
>
> >
> >
> > On Tue, Aug 16, 2011 at 2:41 PM, McMullen, Travis
> > <tmcmullen@...>wrote:
>
> >
> > > The only conditions that I am using are related to the User ID that is
> > > calling the method. The code is as follows.
> > >
> > > find first ttIssueReturn where ttIssueReturn.RowMod = "U":U
> > > no-lock no-error.
> > > if available ttIssueReturn and ttissuereturn.ToJobSeq = 10 then do:
> > > find first JobHead where JobHead.Company = Cur-COMP and JobHead.JobNum
> =
> > > ttIssueReturn.ToJobNum
> > > no-lock no-error.
> > > if available JobHead and JobHead.ProdCode = "101" then
> > > ttIssueReturn.FromWarehousecode = "VAMB-101".
> > > if available JobHead and JobHead.Prodcode = "102" then
> > > ttIssueReturn.FromWarehouseCode = "VAMB-102".
> > > if available JobHead and JobHead.Prodcode = "103" then
> > > ttIssueReturn.FromWarehouseCode = "VAMB-103".
> > > if available JobHead and JobHead.Prodcode = "105" then
> > > ttIssueReturn.FromWarehouseCode = "VAMB-105".
> > > if available JobHead and JobHead.Prodcode = "107" then
> > > ttIssueReturn.FromWarehouseCode = "VAMB-107".
> > > if available JobHead and JobHead.Prodcode = "110" then
> > > ttIssueReturn.FromWarehouseCode = "VAMB-110".
> > > if available JobHead and JobHead.ProdCode = "250" then
> > > ttIssueReturn.FromWarehouseCode = "VAMB-250".
> > > end.
> > > Else if available ttIssueReturn and ttIssueReturn.ToJobSeq = 30 or
> > > ttIssueReturn.tojobseq = 40 or ttIssueReturn.ToJobSeq = 60 then do:
> > > find first JobHead where JobHead.Company = CUR-COMP and JobHead.JobNum
> =
> > > ttIssueReturn.ToJobNum
> > > no-lock no-error.
> > > if available JobHead and JobHead.ProdCode = "250" then
> > > ttIssueReturn.FromWarehouseCode = "VAMB-250".
> > > end.
> > >
> > > Travis L. McMullen
> > > Senior Information Systems Support Technician
> > > ComSonics, Inc.
> > > Harrisonburg, VA 22801
> > > Phone: 540-434-5965 x1274
> > > Toll Free: 1-800-336-9681 x1274
> > > Mobile: 540-435-1920
> > > Fax: 540-434-9847
> > > E-Mail: tmcmullen@...
>
> > >
> > >
> > >
> > > On Tue, Aug 16, 2011 at 2:32 PM, Waffqle <waffqle@...> wrote:
> > >
> > >> What's your code look like? Do you have any conditions on your BPM?
> > >>
> > >> On Tue, Aug 16, 2011 at 2:27 PM, subzerovi <tmcmullen@...>
>
> > >> wrote:
> > >>
> > >> > **
> > >> >
> > >> >
> > >> > I am attempting to create a BPM in the Issue Material screen that
> will
> > >> > change the warehouse we are issuing from based on the Product Code
> of
> > >> the
> > >> > Job. I have working code, however, I want to place it in the
> > >> > IssueReturn.OnChangePartNum Business Method.
> > >> >
> > >> > The code doesn't seem to work on this business method even though it
> > >> > validates ok. It seems that the Issue Material screen has some logic
> > >> behind
> > >> > it that will not allow my BPM to change the warehouse field. I had
> to
> > >> put my
> > >> > code in the IssueReturn.OnChangeFromBin Business Method in order for
> it
> > >> to
> > >> > work.
> > >> >
> > >> > While my users were testing this, they found an issue that I need to
> > >> find a
> > >> > way to resolve. However, if I could put my code in the
> OnChangePartNum,
> > >> I'm
> > >> > pretty sure it would no longer be an issue.
> > >> >
> > >> > Does anyone know how I can attach this BPM to the Business Method
> and
> > >> make
> > >> > it work?
> > >> >
> > >> >
> > >> >
> > >>
> > >>
> > >>
> > >> --
> > >> *Waffqle Driggers*
> > >> *High End Dev, System Design, Profit Drinking
> > >> *
> > >> *:: 904.962.2887*
> > >> *:: waffqle@...*
>
> > >> *:: NO FAXES*
> > >>
> > >> *
> > >>
> > >> *
> > >>
> > >>
> > >> [Non-text portions of this message have been removed]
> > >>
> > >>
> > >>
> > >> ------------------------------------
> > >>
> > >> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
> > >> have already linked your email address to a yahoo id to enable access.
> )
> > >> (1) To access the Files Section of our Yahoo!Group for Report Builder
> and
> > >> Crystal Reports and other 'goodies', please goto:
> > >> http://groups.yahoo.com/group/vantage/files/.
> > >> (2) To search through old msg's goto:
> > >> http://groups.yahoo.com/group/vantage/messages
> > >> (3) To view links to Vendors that provide Vantage services goto:
> > >> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > >>
> > >>
> > >>
> > >>
> > >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>


[Non-text portions of this message have been removed]
Did you do the BPM in pre-process or in post-process?



On Wed, Aug 17, 2011 at 11:44 AM, McMullen, Travis
<tmcmullen@...>wrote:

> I checked the appserver logs and there were no errors, it's just not
> executing the code. If it is executing the code, something in the Issue
> Material screen is changing the value back.
>
> Travis L. McMullen
> Senior Information Systems Support Technician
> ComSonics, Inc.
> Harrisonburg, VA 22801
> Phone: 540-434-5965 x1274
> Toll Free: 1-800-336-9681 x1274
> Mobile: 540-435-1920
> Fax: 540-434-9847
> E-Mail: tmcmullen@...
>
>
> On Wed, Aug 17, 2011 at 10:56 AM, reptcon <cheins@...> wrote:
>
> > **
> >
> >
> > Travis, is the (From?)BinNum valid in the warehouse you are changing to?
> If
> > not the BO might reject it. You could check your appserver log to see if
> > there are any error message. They don't always ripple back to the client
> > session.
> >
> >
> > --- In vantage@yahoogroups.com, "McMullen, Travis" <tmcmullen@...>
> wrote:
> > >
> > > An extra note. I know the OnChangePartNum BPM is being triggered
> because
> > I
> > > added information messages that are appearing after the part number is
> > > entered.
> > >
> > > Travis L. McMullen
> > > Senior Information Systems Support Technician
> > > ComSonics, Inc.
> > > Harrisonburg, VA 22801
> > > Phone: 540-434-5965 x1274
> > > Toll Free: 1-800-336-9681 x1274
> > > Mobile: 540-435-1920
> > > Fax: 540-434-9847
> > > E-Mail: tmcmullen@...
> >
> > >
> > >
> > > On Tue, Aug 16, 2011 at 2:41 PM, McMullen, Travis
> > > <tmcmullen@...>wrote:
> >
> > >
> > > > The only conditions that I am using are related to the User ID that
> is
> > > > calling the method. The code is as follows.
> > > >
> > > > find first ttIssueReturn where ttIssueReturn.RowMod = "U":U
> > > > no-lock no-error.
> > > > if available ttIssueReturn and ttissuereturn.ToJobSeq = 10 then do:
> > > > find first JobHead where JobHead.Company = Cur-COMP and
> JobHead.JobNum
> > =
> > > > ttIssueReturn.ToJobNum
> > > > no-lock no-error.
> > > > if available JobHead and JobHead.ProdCode = "101" then
> > > > ttIssueReturn.FromWarehousecode = "VAMB-101".
> > > > if available JobHead and JobHead.Prodcode = "102" then
> > > > ttIssueReturn.FromWarehouseCode = "VAMB-102".
> > > > if available JobHead and JobHead.Prodcode = "103" then
> > > > ttIssueReturn.FromWarehouseCode = "VAMB-103".
> > > > if available JobHead and JobHead.Prodcode = "105" then
> > > > ttIssueReturn.FromWarehouseCode = "VAMB-105".
> > > > if available JobHead and JobHead.Prodcode = "107" then
> > > > ttIssueReturn.FromWarehouseCode = "VAMB-107".
> > > > if available JobHead and JobHead.Prodcode = "110" then
> > > > ttIssueReturn.FromWarehouseCode = "VAMB-110".
> > > > if available JobHead and JobHead.ProdCode = "250" then
> > > > ttIssueReturn.FromWarehouseCode = "VAMB-250".
> > > > end.
> > > > Else if available ttIssueReturn and ttIssueReturn.ToJobSeq = 30 or
> > > > ttIssueReturn.tojobseq = 40 or ttIssueReturn.ToJobSeq = 60 then do:
> > > > find first JobHead where JobHead.Company = CUR-COMP and
> JobHead.JobNum
> > =
> > > > ttIssueReturn.ToJobNum
> > > > no-lock no-error.
> > > > if available JobHead and JobHead.ProdCode = "250" then
> > > > ttIssueReturn.FromWarehouseCode = "VAMB-250".
> > > > end.
> > > >
> > > > Travis L. McMullen
> > > > Senior Information Systems Support Technician
> > > > ComSonics, Inc.
> > > > Harrisonburg, VA 22801
> > > > Phone: 540-434-5965 x1274
> > > > Toll Free: 1-800-336-9681 x1274
> > > > Mobile: 540-435-1920
> > > > Fax: 540-434-9847
> > > > E-Mail: tmcmullen@...
> >
> > > >
> > > >
> > > >
> > > > On Tue, Aug 16, 2011 at 2:32 PM, Waffqle <waffqle@...> wrote:
> > > >
> > > >> What's your code look like? Do you have any conditions on your BPM?
> > > >>
> > > >> On Tue, Aug 16, 2011 at 2:27 PM, subzerovi <tmcmullen@...>
> >
> > > >> wrote:
> > > >>
> > > >> > **
> > > >> >
> > > >> >
> > > >> > I am attempting to create a BPM in the Issue Material screen that
> > will
> > > >> > change the warehouse we are issuing from based on the Product Code
> > of
> > > >> the
> > > >> > Job. I have working code, however, I want to place it in the
> > > >> > IssueReturn.OnChangePartNum Business Method.
> > > >> >
> > > >> > The code doesn't seem to work on this business method even though
> it
> > > >> > validates ok. It seems that the Issue Material screen has some
> logic
> > > >> behind
> > > >> > it that will not allow my BPM to change the warehouse field. I had
> > to
> > > >> put my
> > > >> > code in the IssueReturn.OnChangeFromBin Business Method in order
> for
> > it
> > > >> to
> > > >> > work.
> > > >> >
> > > >> > While my users were testing this, they found an issue that I need
> to
> > > >> find a
> > > >> > way to resolve. However, if I could put my code in the
> > OnChangePartNum,
> > > >> I'm
> > > >> > pretty sure it would no longer be an issue.
> > > >> >
> > > >> > Does anyone know how I can attach this BPM to the Business Method
> > and
> > > >> make
> > > >> > it work?
> > > >> >
> > > >> >
> > > >> >
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> *Waffqle Driggers*
> > > >> *High End Dev, System Design, Profit Drinking
> > > >> *
> > > >> *:: 904.962.2887*
> > > >> *:: waffqle@...*
> >
> > > >> *:: NO FAXES*
> > > >>
> > > >> *
> > > >>
> > > >> *
> > > >>
> > > >>
> > > >> [Non-text portions of this message have been removed]
> > > >>
> > > >>
> > > >>
> > > >> ------------------------------------
> > > >>
> > > >> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You
> must
> > > >> have already linked your email address to a yahoo id to enable
> access.
> > )
> > > >> (1) To access the Files Section of our Yahoo!Group for Report
> Builder
> > and
> > > >> Crystal Reports and other 'goodies', please goto:
> > > >> http://groups.yahoo.com/group/vantage/files/.
> > > >> (2) To search through old msg's goto:
> > > >> http://groups.yahoo.com/group/vantage/messages
> > > >> (3) To view links to Vendors that provide Vantage services goto:
> > > >> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
> > > >>
> > > >>
> > > >>
> > > >>
> > > >
> > >
> > >
> > > [Non-text portions of this message have been removed]
> > >
> >
> >
> >
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
> already linked your email address to a yahoo id to enable access. )
> (1) To access the Files Section of our Yahoo!Group for Report Builder and
> Crystal Reports and other 'goodies', please goto:
> http://groups.yahoo.com/group/vantage/files/.
> (2) To search through old msg's goto:
> http://groups.yahoo.com/group/vantage/messages
> (3) To view links to Vendors that provide Vantage services goto:
> http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
>
>
>
>


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