Stuck on a BPM Blank Title 78705

Might I suggest that you populate all of the records with Date01
(because it will be there later in case you think of a good reason). And
then set checkbox 2 as needed (such as if you have an entry in the
trading partner field). Using an existing field rather as a kickoff to
the checkbox rather than hard coding the Customer would give you better
flexibility down the road. If you have only one customer with a trading
partner ID, you have still accomplished the same goal.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Matt Caldwell
Sent: Thursday, June 04, 2009 8:34 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Stuck on a BPM

Checkbox02 is a flag that tells us that the Invoice should be invoiced
via EDI. And the Date is there as another criteria for that same
reason. We built an application that at a specific time of the
afternoon, scans InvcHead for any invoice that has Checkbox02 set to
true, and a Date01 equal to todays date. Then that app will grab all
of the necessary data to build our EDI files that we upload to our VAN.

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of CharlieSmith
Sent: Wednesday, June 03, 2009 10:52 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Stuck on a BPM

What do you want to do with the rest of the invoices? Leave the date and
checkbox empty and false? What is the purpose of these actions?

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 Matt Caldwell
Sent: Wednesday, June 03, 2009 5:55 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
<mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Stuck on a BPM

I am fairly new at BPMs, and I am stuck. Here is what I want. After you
create a group in Invoice Entry and bring in the shipments, I want a BPM
that will check the CustNum of each of the shipments. If any of them
equal a specific customer, I want to automatically enter today's date in
InvcHead.date01, and set InvcHead.checkbox02 to true. I cannot seem to
capture the correct Business Object. Can someone give me a nudge in the
right direction?

Matt Caldwell





[Non-text portions of this message have been removed]
I am fairly new at BPMs, and I am stuck. Here is what I want. After
you create a group in Invoice Entry and bring in the shipments, I want a
BPM that will check the CustNum of each of the shipments. If any of
them equal a specific customer, I want to automatically enter todays
date in InvcHead.date01, and set invcHead.checkbox02 to true. I cannot
seem to capture the correct Business Object. Can someone give me a
nudge in the right direction?



Matt Caldwell
Technical Support Analyst

KERUSSO
P.O. Box 32
Berryville, AR 72616
Phone: 800-424-0943 Ext. 295 or 870-480-4530
Fax: 870-423-3568
Web Site: http://www.kerusso.com
******************************************************************
CONFIDENTIALITY STATEMENT:
This message, from Kerusso Inc., contains information
which is privileged and confidential and is solely for the use of
the intended recipient. If you are not the intended recipient, be
aware that any review, disclosure, copying, distribution, or use
of the contents of this message is strictly prohibited. If you have
received this in error, please destroy it and notify us immediately
at: 800-424-0943
******************************************************************





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



How are you currently attempting to set your conditions?



Rob Bucek

Manufacturing Engineer

PH: 715-284-5376 ext 311

FAX: 715-284-4084

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

(Click the logo to view our site)



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Matt Caldwell
Sent: Wednesday, June 03, 2009 4:55 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Stuck on a BPM





I am fairly new at BPMs, and I am stuck. Here is what I want. After
you create a group in Invoice Entry and bring in the shipments, I want a
BPM that will check the CustNum of each of the shipments. If any of
them equal a specific customer, I want to automatically enter todays
date in InvcHead.date01, and set invcHead.checkbox02 to true. I cannot
seem to capture the correct Business Object. Can someone give me a
nudge in the right direction?

Matt Caldwell
Technical Support Analyst

KERUSSO
P.O. Box 32
Berryville, AR 72616
Phone: 800-424-0943 Ext. 295 or 870-480-4530
Fax: 870-423-3568
Web Site: http://www.kerusso.com <http://www.kerusso.com>
******************************************************************
CONFIDENTIALITY STATEMENT:
This message, from Kerusso Inc., contains information
which is privileged and confidential and is solely for the use of
the intended recipient. If you are not the intended recipient, be
aware that any review, disclosure, copying, distribution, or use
of the contents of this message is strictly prohibited. If you have
received this in error, please destroy it and notify us immediately
at: 800-424-0943
******************************************************************

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





[Non-text portions of this message have been removed]
Invoice Entry is a very different animal from what Ive seen. I've not
found a reliable method that brings in the dataset that you're looking
for. By the very fact alone that posting involves submitting a process
tells me that there is a lot that is happening on the server side that
the client never sees. Someone much smarter than I might have more
insight on this. If I were to take a run at this I would use a BAM that
monitored the InvcHead table and watched the posted field and when that
changed to 'yes' have an alert program update the fields you're looking
for based on the criteria you want (not too hard). Perhaps someone will
come back with another suggestion. But I'm pretty sure you could get it
done this way too.



Rob Bucek

Manufacturing Engineer

PH: 715-284-5376 ext 311

FAX: 715-284-4084

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

(Click the logo to view our site)



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Matt Caldwell
Sent: Wednesday, June 03, 2009 4:55 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Stuck on a BPM





I am fairly new at BPMs, and I am stuck. Here is what I want. After
you create a group in Invoice Entry and bring in the shipments, I want a
BPM that will check the CustNum of each of the shipments. If any of
them equal a specific customer, I want to automatically enter todays
date in InvcHead.date01, and set invcHead.checkbox02 to true. I cannot
seem to capture the correct Business Object. Can someone give me a
nudge in the right direction?

Matt Caldwell
Technical Support Analyst

KERUSSO
P.O. Box 32
Berryville, AR 72616
Phone: 800-424-0943 Ext. 295 or 870-480-4530
Fax: 870-423-3568
Web Site: http://www.kerusso.com <http://www.kerusso.com>
******************************************************************
CONFIDENTIALITY STATEMENT:
This message, from Kerusso Inc., contains information
which is privileged and confidential and is solely for the use of
the intended recipient. If you are not the intended recipient, be
aware that any review, disclosure, copying, distribution, or use
of the contents of this message is strictly prohibited. If you have
received this in error, please destroy it and notify us immediately
at: 800-424-0943
******************************************************************

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





[Non-text portions of this message have been removed]
What do you want to do with the rest of the invoices? Leave the date and
checkbox empty and false? What is the purpose of these actions?



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Matt Caldwell
Sent: Wednesday, June 03, 2009 5:55 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Stuck on a BPM

I am fairly new at BPMs, and I am stuck. Here is what I want. After you
create a group in Invoice Entry and bring in the shipments, I want a BPM
that will check the CustNum of each of the shipments. If any of them
equal a specific customer, I want to automatically enter today's date in
InvcHead.date01, and set InvcHead.checkbox02 to true. I cannot seem to
capture the correct Business Object. Can someone give me a nudge in the
right direction?

Matt Caldwell





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

Create a post-processing directive against the ARInvoice.GetShipments BO. No conditions.

One action: "synchronously execute 4GL... record nothing". The 4GL code would be something like:

for each InvcHead where InvcHead.Company = CUR-COMP and InvcHead.GroupID = GroupID and InvcHead.Posted = false no-lock:
if InvcHead.SoldToCustNum = #### then do: /* Insert CustNum here */
Run lib\UpdateTableBuffer.p(input BUFFER InvcHead:HANDLE, 'Date01',TODAY).
Run lib\UpdateTableBuffer.p(input BUFFER InvcHead:HANDLE, 'CheckBox02',True).
end.
end.

I haven't tested the code, but the basics of it do work - we have something similar in place. Note that the code uses the actual "live" table and not the "tt" table - this is necessary for it to work.

Also note that (obviously) only invoices created by "Get Shipments" will run this code. Misc Invoices won't.

It also helps if you *don't* use the same AR Invoice Group names all the time.

HTH,

Nigel.


--- In vantage@yahoogroups.com, "Matt Caldwell" <matt@...> wrote:
>
> I am fairly new at BPMs, and I am stuck. Here is what I want. After
> you create a group in Invoice Entry and bring in the shipments, I want a
> BPM that will check the CustNum of each of the shipments. If any of
> them equal a specific customer, I want to automatically enter todays
> date in InvcHead.date01, and set invcHead.checkbox02 to true. I cannot
> seem to capture the correct Business Object. Can someone give me a
> nudge in the right direction?
>
>
>
> Matt Caldwell
> Technical Support Analyst
>
> KERUSSO
> P.O. Box 32
> Berryville, AR 72616
> Phone: 800-424-0943 Ext. 295 or 870-480-4530
> Fax: 870-423-3568
> Web Site: http://www.kerusso.com
> ******************************************************************
> CONFIDENTIALITY STATEMENT:
> This message, from Kerusso Inc., contains information
> which is privileged and confidential and is solely for the use of
> the intended recipient. If you are not the intended recipient, be
> aware that any review, disclosure, copying, distribution, or use
> of the contents of this message is strictly prohibited. If you have
> received this in error, please destroy it and notify us immediately
> at: 800-424-0943
> ******************************************************************
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Checkbox02 is a flag that tells us that the Invoice should be invoiced
via EDI. And the Date is there as another criteria for that same
reason. We built an application that at a specific time of the
afternoon, scans InvcHead for any invoice that has Checkbox02 set to
true, and a Date01 equal to todays date. Then that app will grab all
of the necessary data to build our EDI files that we upload to our VAN.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of CharlieSmith
Sent: Wednesday, June 03, 2009 10:52 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Stuck on a BPM








What do you want to do with the rest of the invoices? Leave the date and
checkbox empty and false? What is the purpose of these actions?

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf
Of Matt Caldwell
Sent: Wednesday, June 03, 2009 5:55 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Stuck on a BPM

I am fairly new at BPMs, and I am stuck. Here is what I want. After you
create a group in Invoice Entry and bring in the shipments, I want a BPM
that will check the CustNum of each of the shipments. If any of them
equal a specific customer, I want to automatically enter today's date in
InvcHead.date01, and set InvcHead.checkbox02 to true. I cannot seem to
capture the correct Business Object. Can someone give me a nudge in the
right direction?

Matt Caldwell

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





[Non-text portions of this message have been removed]
Initial test worked! Thank you bunches!



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Nigel Kerley
Sent: Thursday, June 04, 2009 3:12 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Stuck on a BPM








Hi Matt,

Create a post-processing directive against the ARInvoice.GetShipments
BO. No conditions.

One action: "synchronously execute 4GL... record nothing". The 4GL code
would be something like:

for each InvcHead where InvcHead.Company = CUR-COMP and InvcHead.GroupID
= GroupID and InvcHead.Posted = false no-lock:
if InvcHead.SoldToCustNum = #### then do: /* Insert CustNum here */
Run lib\UpdateTableBuffer.p(input BUFFER InvcHead:HANDLE,
'Date01',TODAY).
Run lib\UpdateTableBuffer.p(input BUFFER InvcHead:HANDLE,
'CheckBox02',True).
end.
end.

I haven't tested the code, but the basics of it do work - we have
something similar in place. Note that the code uses the actual "live"
table and not the "tt" table - this is necessary for it to work.

Also note that (obviously) only invoices created by "Get Shipments" will
run this code. Misc Invoices won't.

It also helps if you *don't* use the same AR Invoice Group names all the
time.

HTH,

Nigel.

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"Matt Caldwell" <matt@...> wrote:
>
> I am fairly new at BPMs, and I am stuck. Here is what I want. After
> you create a group in Invoice Entry and bring in the shipments, I want
a
> BPM that will check the CustNum of each of the shipments. If any of
> them equal a specific customer, I want to automatically enter todays
> date in InvcHead.date01, and set invcHead.checkbox02 to true. I cannot
> seem to capture the correct Business Object. Can someone give me a
> nudge in the right direction?
>
>
>
> Matt Caldwell
> Technical Support Analyst
>
> KERUSSO
> P.O. Box 32
> Berryville, AR 72616
> Phone: 800-424-0943 Ext. 295 or 870-480-4530
> Fax: 870-423-3568
> Web Site: http://www.kerusso.com
> ******************************************************************
> CONFIDENTIALITY STATEMENT:
> This message, from Kerusso Inc., contains information
> which is privileged and confidential and is solely for the use of
> the intended recipient. If you are not the intended recipient, be
> aware that any review, disclosure, copying, distribution, or use
> of the contents of this message is strictly prohibited. If you have
> received this in error, please destroy it and notify us immediately
> at: 800-424-0943
> ******************************************************************
>
>
>
>
>
> [Non-text portions of this message have been removed]
>





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