Is it possible to set an expense sublist line in a vendor bill to disabled? I'm currently using a client script to disable individual fields, where available, but I'd prefer to do the whole line in one go, as the line may contain other sublists (eg. taxdetails). Hope that makes sense. 🙂
c
Clay Roper
10/18/2023, 2:23 PM
Try
CurrentRecord.cancelLine()
within a
lineInit()
function. You can conditionally disable lines depending on business logic.