Hi All,
May I know how to link between VendInvoiceInfoTable and VendInvoiceJour? If I have VendInvoiceInfoTable record, how can I get the VendInvoiceJour record?
Thank you.
*This post is locked for comments
Check these two methods:
\Data Dictionary\Tables\VendInvoiceInfoTable\Methods\ledgerVoucher (via source document header)
\Data Dictionary\Tables\VendInvoiceInfoTable\Methods\findFromVendInvoiceJour (via num, purchid and parmid if it came from a posting)
What about this relation ?
SELECT *
FROM VENDINVOICEJOUR AS vij
JOIN PURCHTABLE AS pt
ON vij.PURCHID = pt.PURCHID
JOIN VENDINVOICEINFOSUBTABLE AS viist
ON viist.ORIGPURCHID = pt.PURCHID
JOIN VENDINVOICEINFOTABLE AS viit
ON viit.PARMID = viist.PARMID and viit.TABLEREFID = viist.TABLEREFID
Hi sanme,
if you want Create unique link between those two table then you can create your Own Column and linked it.
you want to add Field in That 2 tables.
Thanks.
Hi Jignesh,
I unable to link to VendInvoiceJour using PostingProfile. It is quite general, I need unique link. Anyway, thank you.
Anyone can help?
Thank you.
May be you can Check by PostingProfile
VENDINVOICEJOUR.POSTINGPROFILE = VENDINVOICEINFOTABLE.POSTINGPROFILE
Thanks,
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156