I need to get the value of the ledger account field in the view distribution in purchase requisition.
basically i checked the relation between the two tables, purchreqline and AccountingDistribution, its on sourcedocumentline field. i need to show this value in my ssrs report.
i added this relation but for some reason its coming blank when i debug:
select firstOnly LedgerDimension from accDistribution where accDistribution.SourceDocumentLine == purchReqLine.SourceDocumentLine && accDistribution.SourceDocumentHeader == SourceDocumentLine::find(purchReqLine.SourceDocumentLine).SourceDocumentHeader;
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.