Resolve Error: INVALID_KEY_OR_REF: Invalid custrecord_propcaretaker reference key XXX in Asset Creation
Published on
June 30, 2023 at 3:17:09 AM PDT June 30, 2023 at 3:17:09 AM PDTth, June 30, 2023 at 3:17:09 AM PDT
Scenario
Customer is creating assets from asset proposal and encountered an Error: "INVALID_KEY_OR_REF: Invalid custrecord_propcaretaker reference key XXX."
Solution
The error was referring toID:custrecord_propcaretaker. This field is theCustodian fieldin General tab of theFAM Asset Proposal.
The error is received because theasset proposalcannot be created due to the value in theCustodian Field.
Custodianare employee responsible for the asset.
Check the internal ID being referenced in the error log on theemployee records.
- Navigate toHome>Set Preferences>General>Defaultssection > Mark the boxShow Internal IDS>Save.
Make sure this employee is active:
Navigate toLists>Employees>Employees.
Mark theShow Inactivescheckbox.
Locate the Internal ID based on the error received.
ClickEdit.
Unmark theInactivecheckbox.
ClickSave.
Navigate toFixed Assets>Setup>Asset Types.
ClickEditfor <Asset Type>.
ClickGeneraltab
UnderCustodianfield, choose the employee you want to be custodian.
ClickSave.