How do I get the associated record in trade agreement journal (PriceDiscAdmTrans) from the record in SalesLine Table?
There is no associated PriceDiscAdmTrans
record to a SalesLine
.
There may be an associated PriceDiscTable
record to a SalesLine
, but the rules to find it is defined by workings of SalesPurchLine::setPriceAgreement
and the PriceDisc
class.