BPM HELP! Blank Title 120393

I tried the following code in APInvoice.Update. It works only when we click save after modifying the receipt line. Upon tracing, i understood ApInvoice.InvoiceSelectedLines is the correct BO. But since Im in version V8, this BO is not available. Any way to access this BO or make this BPM work in any other BO?

BPM objective : To show an exception message when we ADD(not working) or UPDATE(working) a RECEIPT LINE and when the Header INVOICE DATE is less than RECEIPT DATE.

define var x as date.

define var y as date.

Find first ttAPInvDtl where ttapinvdtl.PackSlip<>"" and ttapinvdtl.RowMod='A' or
ttapinvdtl.RowMod='U' no-error.

if available ttapinvdtl then do:
find first RcvHead WHERE RcvHead.Company = Cur-Comp
and RcvHead.PackSlip = ttAPInvDtl.PackSlip no-lock no-error.

if available RcvHead then
assign y = rcvhead.ReceiptDate.


find first APInvHed where APInvHed.Company = ttAPInvDtl.Company
and APInvHed.VendorNum = ttAPInvDtl.VendorNum
and APInvHed.InvoiceNum = ttAPInvDtl.InvoiceNum
no-lock no-error.

if available apinvhed then
assign x= apinvhed.InvoiceDate.


if(y>x) then do:

{lib/Publishinfomsg.i &InfoMsg = "'Test'" }.

end.
end.
How are you looking at the list of methods in the BO? I have the BL Tester and I see it there? InvoiceSelectedLines takes one parameter: APInvReceiptBillingDataSet.


Dan Godfrey
(805) 389-1935 x 251

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of sanjay219@...
Sent: Thursday, May 02, 2013 12:02 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BPM HELP!!!

Help please!

--- In vantage@yahoogroups.com, "sanjay219@..." <sanjay219@...> wrote:
>
> We are running Vantage 8.03.409c.
> The BO APInvoice.InvoiceSelectedLines is NOT available in the BO list, but its showing in Tracing.
> Is there any way I could access that BO? And to modify it using a Pre-processing Directive??
>




------------------------------------

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



CONFIDENTIALITY NOTICE: The data attached/enclosed may contain information (including technology and technical data) which is subject to the U.S. International Traffic in Arms Regulations (ITAR) or Export Administration Regulations (EAR). This information may not be exported, released, or disclosed to foreign persons either inside or outside the United States without first obtaining the proper U.S. export license or written authorization. In addition, the information and articles described herein are either patented or proprietary, and the copying or reproduction thereof is prohibited without ADVANCED Motion Controls prior written consent. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Thank you for your compliance.
Thanks for the reply. I am searching it from method directives. The list of BOs available in my version are :

AddPOMiscChrgToInvoiceHead
AddPOMiscChrgToInvoiceLine
ChangeAdvancePayAmt
ChangeAssemblySeq
ChangeCostPerCode
ChangeCurrency
ChangeDistributionAccount
ChangeExtCompanyID
ChangeExtCost
ChangeExtGLAcct
ChangeExtGLRefCode
ChangeGLRefCode
ChangeInvoiceDate
ChangeInvoiceRef
ChangeInvoiceVendorAmt
ChangeJobNum
ChangeLineDiscAmt
ChangeLockRate
ChangeManualTaxCalculation
ChangeMiscAmt
ChangeMiscCode
ChangeMiscPercent
ChangeMtlSeq
ChangeMultiCompany
ChangeOverrideRevCharge
ChangePartNum
ChangePOLine
ChangePONum
ChangePORelNum
ChangeRefPONum
ChangeReportableAmt
ChangeRevChargeMethod
ChangeTaxableAmt
ChangeTaxAmt
ChangeTaxCode
ChangeTaxPercent
ChangeTermsCode
ChangeUnitCost
ChangeVendorID
ChangeVendorQty
CheckCPayBeforeUpdate
CheckLegalNumsDisplay
CheckRevChrgBeforeUpdate
DeleteByID
GenerateRebateInv
GetAPInvPaySched
GetAPInvPOMisc
GetAPUninvoicedReceipts
GetByID
GetDMRDebitMemos
GetLegalNumforDebitMemo
GetList
GetNewAPIHAPInvExp
GetNewAPIHAPInvMsc
GetNewAPInvDtl
GetNewAPInvDtlAdvance
GetNewAPInvDtlAttch
GetNewAPInvDtlJobMiscellaneous
GetNewAPInvDtlMiscellaneous
GetNewAPInvDtlUnreceived
GetNewAPInvExp
GetNewAPInvHed
GetNewAPInvHedAttch
GetNewAPInvHedDebitMemo
GetNewAPInvHedInvoice
GetNewAPInvJob
GetNewAPInvMsc
GetNewAPInvTax
GetRebateInvList
GetRows
GLAllocation
PreUpdate
TransferInvoiceToGroup
Update
UpdateAPInvPaySched
UsePurchaseCode


Thanks.
HELP PLEASE!!
Dude randomly yelling HELP PLEASE isn't going to help.... just a thought.


*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 Thu, May 2, 2013 at 4:22 PM, sanjay219@... <sanjay219@...>wrote:

> **
>
>
> HELP PLEASE!!
>
>
>


[Non-text portions of this message have been removed]
Help ME, help YOU!

Rob Bucek
Production Control Manager
PH: (715) 284-5376 ext 311
Mobile: (715)896-4832
FAX: (715)284-4084

(Click the logo to view our site)


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Jose Gomez
Sent: Thursday, May 02, 2013 3:31 PM
To: Vantage
Subject: Re: [Vantage] Re: BPM HELP!!!

Dude randomly yelling HELP PLEASE isn't going to help.... just a thought.


*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 Thu, May 2, 2013 at 4:22 PM, sanjay219@... <sanjay219@...>wrote:

> **
>
>
> HELP PLEASE!!
>
>
>


[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
Hey guys,

This person has an interesting issue. From what I understand, he did a trace and was able to identify a specific method called 'InvoiceSelectedLines' from the BO APInvoice. His problem is that when he went into Method Directives, he can not find this method. I found it in the BL Tester and verified that it is not in Method Directives under APInvoice. Now I did not ask if they verified the BO from the trace. But that is where it stands, they are unable to put a BPM on the method 'InvoiceSelectedLines' from APInvoice.


Dan Godfrey
(805) 389-1935 x 251

-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of sanjay219@...
Sent: Thursday, May 02, 2013 12:17 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: BPM HELP!!!

Thanks for the reply. I am searching it from method directives. The list of BOs available in my version are :

AddPOMiscChrgToInvoiceHead
AddPOMiscChrgToInvoiceLine
ChangeAdvancePayAmt
ChangeAssemblySeq
ChangeCostPerCode
ChangeCurrency
ChangeDistributionAccount
ChangeExtCompanyID
ChangeExtCost
ChangeExtGLAcct
ChangeExtGLRefCode
ChangeGLRefCode
ChangeInvoiceDate
ChangeInvoiceRef
ChangeInvoiceVendorAmt
ChangeJobNum
ChangeLineDiscAmt
ChangeLockRate
ChangeManualTaxCalculation
ChangeMiscAmt
ChangeMiscCode
ChangeMiscPercent
ChangeMtlSeq
ChangeMultiCompany
ChangeOverrideRevCharge
ChangePartNum
ChangePOLine
ChangePONum
ChangePORelNum
ChangeRefPONum
ChangeReportableAmt
ChangeRevChargeMethod
ChangeTaxableAmt
ChangeTaxAmt
ChangeTaxCode
ChangeTaxPercent
ChangeTermsCode
ChangeUnitCost
ChangeVendorID
ChangeVendorQty
CheckCPayBeforeUpdate
CheckLegalNumsDisplay
CheckRevChrgBeforeUpdate
DeleteByID
GenerateRebateInv
GetAPInvPaySched
GetAPInvPOMisc
GetAPUninvoicedReceipts
GetByID
GetDMRDebitMemos
GetLegalNumforDebitMemo
GetList
GetNewAPIHAPInvExp
GetNewAPIHAPInvMsc
GetNewAPInvDtl
GetNewAPInvDtlAdvance
GetNewAPInvDtlAttch
GetNewAPInvDtlJobMiscellaneous
GetNewAPInvDtlMiscellaneous
GetNewAPInvDtlUnreceived
GetNewAPInvExp
GetNewAPInvHed
GetNewAPInvHedAttch
GetNewAPInvHedDebitMemo
GetNewAPInvHedInvoice
GetNewAPInvJob
GetNewAPInvMsc
GetNewAPInvTax
GetRebateInvList
GetRows
GLAllocation
PreUpdate
TransferInvoiceToGroup
Update
UpdateAPInvPaySched
UsePurchaseCode


Thanks.



------------------------------------

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



CONFIDENTIALITY NOTICE: The data attached/enclosed may contain information (including technology and technical data) which is subject to the U.S. International Traffic in Arms Regulations (ITAR) or Export Administration Regulations (EAR). This information may not be exported, released, or disclosed to foreign persons either inside or outside the United States without first obtaining the proper U.S. export license or written authorization. In addition, the information and articles described herein are either patented or proprietary, and the copying or reproduction thereof is prohibited without ADVANCED Motion Controls prior written consent. If you are not the intended recipient (or have received this e-mail in error), please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Thank you for your compliance.
Couldn't a data directive be used instead of method directive on the
APInvDtl table when there a record is added?



The APInvHed does not have the receipt date nor does the APInvDtl table.
The receipt date is in the RcvHead table.



Since a vendor packslip may not be unique - you need to join on Company, the
PO Number , Packslip and vendnum for receipt date on RcvHead.



I don't know at what point the exception message is needed - is it New
Receipt Lines in AP Invoice Entry?



I was trying to use a method for Get shipments in AR Invoice - to display a
message when a customer had special instructions. I finally used a data
directive and it works fine.





From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Dan Godfrey
Sent: Thursday, May 02, 2013 3:05 PM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Re: BPM HELP!!!





Hey guys,

This person has an interesting issue. From what I understand, he did a trace
and was able to identify a specific method called 'InvoiceSelectedLines'
from the BO APInvoice. His problem is that when he went into Method
Directives, he can not find this method. I found it in the BL Tester and
verified that it is not in Method Directives under APInvoice. Now I did not
ask if they verified the BO from the trace. But that is where it stands,
they are unable to put a BPM on the method 'InvoiceSelectedLines' from
APInvoice.

Dan Godfrey
(805) 389-1935 x 251

-----Original Message-----
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of sanjay219@... <mailto:sanjay219%40ymail.com>
Sent: Thursday, May 02, 2013 12:17 PM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Re: BPM HELP!!!

Thanks for the reply. I am searching it from method directives. The list of
BOs available in my version are :

AddPOMiscChrgToInvoiceHead
AddPOMiscChrgToInvoiceLine
ChangeAdvancePayAmt
ChangeAssemblySeq
ChangeCostPerCode
ChangeCurrency
ChangeDistributionAccount
ChangeExtCompanyID
ChangeExtCost
ChangeExtGLAcct
ChangeExtGLRefCode
ChangeGLRefCode
ChangeInvoiceDate
ChangeInvoiceRef
ChangeInvoiceVendorAmt
ChangeJobNum
ChangeLineDiscAmt
ChangeLockRate
ChangeManualTaxCalculation
ChangeMiscAmt
ChangeMiscCode
ChangeMiscPercent
ChangeMtlSeq
ChangeMultiCompany
ChangeOverrideRevCharge
ChangePartNum
ChangePOLine
ChangePONum
ChangePORelNum
ChangeRefPONum
ChangeReportableAmt
ChangeRevChargeMethod
ChangeTaxableAmt
ChangeTaxAmt
ChangeTaxCode
ChangeTaxPercent
ChangeTermsCode
ChangeUnitCost
ChangeVendorID
ChangeVendorQty
CheckCPayBeforeUpdate
CheckLegalNumsDisplay
CheckRevChrgBeforeUpdate
DeleteByID
GenerateRebateInv
GetAPInvPaySched
GetAPInvPOMisc
GetAPUninvoicedReceipts
GetByID
GetDMRDebitMemos
GetLegalNumforDebitMemo
GetList
GetNewAPIHAPInvExp
GetNewAPIHAPInvMsc
GetNewAPInvDtl
GetNewAPInvDtlAdvance
GetNewAPInvDtlAttch
GetNewAPInvDtlJobMiscellaneous
GetNewAPInvDtlMiscellaneous
GetNewAPInvDtlUnreceived
GetNewAPInvExp
GetNewAPInvHed
GetNewAPInvHedAttch
GetNewAPInvHedDebitMemo
GetNewAPInvHedInvoice
GetNewAPInvJob
GetNewAPInvMsc
GetNewAPInvTax
GetRebateInvList
GetRows
GLAllocation
PreUpdate
TransferInvoiceToGroup
Update
UpdateAPInvPaySched
UsePurchaseCode

Thanks.

------------------------------------

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/.
<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

CONFIDENTIALITY NOTICE: The data attached/enclosed may contain information
(including technology and technical data) which is subject to the U.S.
International Traffic in Arms Regulations (ITAR) or Export Administration
Regulations (EAR). This information may not be exported, released, or
disclosed to foreign persons either inside or outside the United States
without first obtaining the proper U.S. export license or written
authorization. In addition, the information and articles described herein
are either patented or proprietary, and the copying or reproduction thereof
is prohibited without ADVANCED Motion Controls prior written consent. If you
are not the intended recipient (or have received this e-mail in error),
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden. Thank you for your compliance.





[Non-text portions of this message have been removed]
I need the exception upon saving, i tried APInvoice.Update also. But it didnt work. I am running vantage version 8. I dont have data directives. Thanks.