...
In cases like these, it's necessary to update the form structure, controller and data model accordingly.
Here is quick reference for FAB built-in scripts conversion:
Upload Collection → Upload Set
Event On Upload → Event Before Upload Starts
fabHandleFileUploadByKey(evt) → fabHandleFileUploadByKey2(evt)
Event On Upload Complete
fabOnFileUploadByKeyComplete(evt) → fabOnFileUploadByKeyComplete2(evt)
Event On Delete
fabOnFileByKeyDeleted(evt) → fabOnFileByKeyDeleted2(evt)
Here are some sample script adjustments for Capital Expenditure Request:
...