The function to know if the current line is a free gift or the line is the part of promotion: Method 1: let isCurrentItemFreeGift = currentRec.getCurrentSublistValue({ sublistId: ‘item’, … Continue reading Function to get the promotion id from the line level