Customer Payment记录类型UNDEPOSITED FUNDS字段的bug
当用SuiteScript操作customer payment记录的时候,选择isDynamic=true,此时如果输入了科目(account)字段的值,UNDEPOSITED FUNDS就会被取消,然后科目旁边的radio button会被选中。但是当某些逻辑需要反转选项,把account设置为空,UNDEPOSITED FUNDS这个radio button却不会被选中。 这种情况下尝试rec.setValue({fieldId: "undepfunds", value: true})是无效的,会提示You have entered an Invalid Field Value true for the following field: undepfunds 正确的方法是! 这个bug很明显来自SuiteScript不能很好兼容radio button