![]() |
#3 |
Участник
|
Цитата:
Сообщение от LEX
select firstonly _vendTrans
index hint VoucherDateIdx where _vendTrans.Invoice == fTrans.InvoiceId && _vendTrans.TransDate == fTrans.InvoiceDate; Во-вторых, в счет-фактуру может входить несколько накладных и сопоставлена может быть только одна из них. Т.е. правильнее делать так X++: select firstonly recid from _fTrans where _fTrans.FactureId == FactureJour.FactureId join LastSettleVoucher, RecId from _vendTrans where _vendTrans.AccountNum == FactureJour.CustVendInvoiceAccount && _vendTrans.Invoice == fTrans.InvoiceId && _vendTrans.TransDate == fTrans.InvoiceDate && _vendTrans.LastSettleVoucher; ![]()
__________________
Axapta v.3.0 sp5 kr2 |
|
Теги |
ax3.0, ax4.0 |
|
![]() |
||||
Тема | Ответов | |||
Печать самих файлов PDF | 9 | |||
Печать документов по Заказам, Закупкам | 8 | |||
СФ по агентскому договору | 4 | |||
Печать СФ (проформа) | 0 | |||
Фактура не выходит на печать... | 1 |
|