Hi. I have three queries with these paths and I want to union them:
- GeneralJournalAccountEntry -> GeneralJournalEntry -> VendTrans -> VendInvoiceJour -> VendInvoiceTrans
- GeneralJournalAccountEntry -> GeneralJournalEntry -> CustTrans -> CustInvoiceJour -> CustInvoiceTrans
- GeneralJournalAccountEntry -> GeneralJournalEntry -> LedgerJournalTrans
I created three separate views for each query then I plan to union them in another view.
My problem is, I want to include PurchId column from VendInvoiceJour table in the union view
but only the first path contains PurchId column.
Since union will only work for same field and same data type, how can I include empty PurchId column in CustTrans and LedgerJournalTrans path? Simply create an empty PurchId column in the view won't work.
Thank You