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 /wiki/spaces/KB/pages/313098544.