BOM Production Entry Lot Distribution

SOLVED

Hi, 

So i've been trying to put an entry on BOM Produciton entry, it seems to be having an error with the Distribution part. (im using an item with Lot Valuation)

retVal = oProduction.oLines.oDistribution.nAddDistributionLine("B456")
retVal = oProduction.oLines.oDistribution.nSetValue("TransactionQty", componentItem.ComponentItemQuantity)
retVal = oProduction.oLines.oDistribution.nWrite()
retVal = oProduction.oLines.oDistribution.nCommitDistributionRows()

error message says "The column is not in the IO list". any Ideas w/c column I should be using to set the distribution value?

Thanks!