RE: AP-Vendor Invoice journal
Hi.. Here is what you can try:
1. Try creating a single record from the code.
2. Go to AX in same journal and create record manually and this will be another line
Now compare what's different. Address may be an issue if linkages are not there, MOP etc. you should be able to see as they might be stored in the table directly.
This should give you a very good idea on what's wrong with the line created by code. If there are differences (not like voucher number OR line number etc. as they should vary by line in certain scenarios), try to resolve them. Hope this let you see the data on the form.
Thanks,
Satish Panwar
Please help verify answer(s) if they guide you in right direction so other community members can also benefit from your question with verified answer.