Hi All,
we are trying to get the data from 2 tables, LedgerTrans and VendTrans , it is having the data like below:
| LedgerTrans |
| Voucher |
Account Number |
| V001 |
1212 |
| V001 |
1213 |
| V001 |
1214 |
| V001 |
1215 |
| VendTrans |
| Voucher |
Account Number |
| V001 |
Vend01 |
| V001 |
Vend02 |
| V001 |
Vend03 |
| V001 |
Vend04 |
We need the result as below:
| Voucher |
Account Number |
Vend Account |
| V001 |
1212 |
Vend01 |
| V001 |
1213 |
Vend02 |
| V001 |
1214 |
Vend03 |
| V001 |
1215 |
Vend04 |
tried writing x++ statement but the results is coming in duplicate records.
How we can write the x++ select statement to get the result.
Please advise.
Regards,
Akbar