michoel
01/04/2018, 10:18 PMvendorbill into a vendorpayment, the apply sublist should contain all open bills for the vendor, with the apply column set to 'F', besides for the bill you transformed from which will default to apply = T. I've just tested in the console and it is behaving as expected for me.mrob
01/04/2018, 10:20 PMvar vendPayment = record.transform({
fromType: vendBill.type,
fromId: vendBill.id,
toType: record.Type.VENDOR_PAYMENT,
isDynamic: true
}); with a vendPayment.save() afterwardmrob
01/04/2018, 10:21 PMvendPayment.getLineCount('apply') => 0mrob
01/04/2018, 10:21 PMvendPayment.insertLine('apply') gives the "You have attempted an invalid sublist or line item operation. You are either trying to access a field on a non-existent line or you are trying to add or remove lines from a static sublist." errormrob
01/04/2018, 10:22 PMmichoel
01/04/2018, 10:24 PMmichoel
01/04/2018, 10:25 PMmrob
01/04/2018, 10:25 PMOPEN status and open the console from there, load up that bill and transform itmrob
01/04/2018, 10:26 PMmrob
01/04/2018, 10:26 PMmrob
01/04/2018, 10:26 PMrustyshackles
01/05/2018, 5:29 AMvendPayment.insertLinemrob
01/05/2018, 5:33 AMmrob
01/05/2018, 5:33 AM