Hello, the company I work for has recently (as of last week) begun experiencing issues with the 'Generate Representing Entities' button that they never had before. Before it worked totally fine, they would click the button, and a new customer and vendor would be created that would be representing all but ELIM legal entities.
Now when it is pressed, it says the 'Create Vendor' operation fails citing error message
{"type":"error.SuiteScriptError","name":"INVALID_FLD_VALUE","message":"You have entered an Invalid Field Value 109 for the following field: subsidiary","id":"","stack":["Error\n at RecordInvoker.save (suitescript/resources/javascript/record/serverRecordService.js:391:13)\n at NetSuiteObject.thenableFunction() (suitescript/resources/javascript/record/proxy.js:115:24)\n at Object.afterSubmit (/SuiteScripts/SV.UE.addsubstovendor.js:61:39)"],"cause":{"type":"internal error","code":"INVALID_FLD_VALUE","details":"You have entered an Invalid Field Value 109 for the following field: subsidiary","userEvent":null,"stackTrace":["Error\n at RecordInvoker.save (suitescript/resources/javascript/record/serverRecordService.js:391:13)\n at NetSuiteObject.thenableFunction() (suitescript/resources/javascript/record/proxy.js:115:24)\n at Object.afterSubmit (/SuiteScripts/SV.UE.addsubstovendor.js:61:39)"],"notifyOff":false},"notifyOff":false,"userFacing":true}
The 'Create Customer' operation succeeds (according to the log), and the 'Add missing subsidiaries and currencies' fails as well with error message 'Representing Entity for this Subsidiary does not exist. Please manually re-run generation of Representing Entities.'
While looking through the vendors I can see that vendors have been created since there are currently 10 vendors with the same name, but different vendor IDs and all of them say they represent the same subsidiary. However, contrary to what the record log shows, no customers with that name have been created. When I look at the legal entity, it says there is no representing customer or vendor, and it also does not list an entity number. I do not know how to proceed and until we get this fixed, we are having big issues since we cannot transfer money properly between entities.
Has anyone else fixed issues like this or seen something similar? Is there a way that I can manually link a customer and a vendor? Any help would be greatly appreciated. Thank you. I have verified that the 'Automatically generate representing entities' checkbox has been checked in the intercompany preferences.