1.7 Alpha CSH query - party:getBpayID(party)
Submitted by Guest on Sun, 04/08/2013 - 07:03
In the JxPath extension functions listed on http://www.openvpms.org/documentation/csh/1.7/reference/jxpath there is, at the bottom party:getBpayID(party)
What does this do? It is obviously retrieving a BPay number, but where is it getting this from? Seeing that one pays into BPay numbers it logically a BPAY number for the practice - but from what is written it is something to do with the customer.
Regards, Tim
Re: 1.7 Alpha CSH query - party:getBpayID(party)
See this thread for some background.
Re: 1.7 Alpha CSH query - party:getBpayID(party)
Ahah - it generates the Bpay Customer reference number from the Customer ID.
A quick scan of the source and some googling reveals how it works.
Incidently, the source says "using a Luntz 10 algorithm" - it should be "using the Luhn 10 algorithm".
I have tweaked the CSH to add http://www.openvpms.org/documentation/csh/1.7/concepts/payment-types and have adjusted the description in the jxpath section.
Regards, Tim G