How to Pass Data from Header Logic to Line Item Logic

If you need to pass data from a header logic to a line item logic in Quotes, Agreements/Promotions, Rebate Agreements or Claims, you can do so by using the api.global variable (when api.retainGlobal=true). This works only in the pre-phase, not in the post-phase. For details see Details on api.retainGlobal.