Watz
12/01/2022, 3:09 PMbattk
12/01/2022, 7:46 PMbattk
12/01/2022, 7:47 PMvendorbills
default value to populate the apply sublists on a vendor paymentbattk
12/01/2022, 7:48 PMWatz
12/01/2022, 8:15 PMWatz
12/01/2022, 8:49 PMvar rec = record.create({
type: record.Type.VENDOR_PAYMENT,
isDynamic: false,
defaultValues: {
subsidiary: 26,
entity: '3335280',
vendorbills: '6706319',
}
})
Above will give me a record without any lines in the apply sublist.
As the primary currency of the vendor is different from what the bill is, I need to change it.
Adding currency: 8 to the default values gives me "You have entered an invalid default value for this record transformation operation."
Even if the vendor primary currency was the same as the bill, the sublist would be empty. How would I change the payment amount?michoel
12/01/2022, 10:50 PMWatz
12/01/2022, 10:58 PMbattk
12/02/2022, 6:20 AM