[progress Communities] [progress Openedge Abl] Forum Post: [4.0.4] -...

  • Thread starter Thread starter Meryk
  • Start date Start date
Status
Not open for further replies.
M

Meryk

Guest
Hello, I have an object B mapped to an external table. Object B is kind of a replication/copy of another object A. In a trigger in object A, I am updating the record B that needs to be changed. So whenever we create or update a record of A, we do the same with B. The issue I am facing now, is the updating : in that trigger in A (that runs after create), I am doing : var ID = 67; // 67 is the id of one record in B rbv_api.setFieldValue('integrationNameofObjectB', ID, 'fieldToUpadte', 'value'); This keeps returning : " Object B with id 67 not found ". Knowing that I have a record with this Id 67. This worked some time back but I am not sure when this issue started. Also while mapping object B to that external table, I had to change the integration name of the field ID to something like 'xxxId'. Is that a problem? I thought maybe rbv_api.setFieldValue is looking for a field called 'id' to compare against. Any suggestions please? Thanks, Meryem

Continue reading...
 
Status
Not open for further replies.
Back
Top