18 Jul 2008
Posted by: Ricardo Pichler in: Diversos
Uma maneira de buscar invoices no AX a partir do voucher da transação bancária (bankaccounttrans.voucher) é utilizando a classe BankPaym2Invoice, que gera uma tabela temporária para acesso das invoices.
O job abaixo exemplifica sua utilização:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | static void BankPaym2InvoiceExample(Args _args) { BankPaym2Invoice bankpaym; TmpBankPaym2Invoice tmp; BankAccountTrans bankaccounttrans; ; while select bankaccounttrans { bankpaym = new BankPaym2Invoice(bankaccounttrans.Voucher, bankaccounttrans.TransDate, bankaccounttrans.AmountCur); tmp = bankpaym.tmpBankPaym2Invoice(); while select tmp { print tmp.invoiceid; } } pause; } |
4 Responses
lasertest
25|Sep|2015 1Hey there I am so happy I found your site, I really found
you by mistake, while I was looking on Bing for something
else, Anyways I am here now and would just like
to say thanks for a incredible post and a all round entertaining
blog (I also love the theme/design), I don’t have time to go through it all at the minute
but I have book-marked it and also added in your RSS feeds, so when I have time
I will be back to read a lot more, Please do keep up
the awesome job.
Hulk T Shirt
12|Oct|2015 2I’m gone to tell my little brother, that he should also visit this weblog on regular basis
to take updated from latest news update.
estartup
16|Oct|2015 3In order to find out how this works, try resizing your browser.
They make sure that all images received by them are
safe. You also want to pay attention to things like how
long it will take for the page to load.
Dry Aged Steaks
29|Jan|2017 4Hi, I think your site might be having browser compatibility issues.
When I look at your blog in Safari, it looks fine but
when opening in Internet Explorer, it has some overlapping.
I just wanted to give you a quick heads up!
Other then that, amazing blog!
Leave a reply
Search
Tags / Categorias
RSS
Arquivo
Blogroll