Hi everyone, I'm creating a FAM Alternate Deprecia...
# suitescript
s
Hi everyone, I'm creating a FAM Alternate Depreciation record for a Fixed Asset using SuiteScript. The FAM Alternate Depreciation record is created successfully, but the corresponding FAM Asset Values and FAM Depreciation History records are not being generated. When I create the same FAM Alternate Depreciation record through the NetSuite UI, the Fixed Assets bundle's FAM Alt Depr UE script automatically creates both the FAM Asset Values and FAM Depreciation History records. Has anyone encountered this issue before? Is there any additional processing, script, or API that needs to be triggered when creating the record via SuiteScript so that the Fixed Assets bundle generates these related records as it does through the UI?
a
What's script type are you creating the FAM AD from? if its a UE script and the dependent records are supposed to create from a FAM UE script, then they won't trigger. UE scripts can't trigger other UE scripts
hand the creation off to a suitelet or scheduled script / MR is the usual work around