Forum Discussion
MCFNeil
8 years agoQrew Captain
If you are looking to edit the parent record then create a child record, you will want to use an
API_EditRecord call with a RDR to the AddGenRecordFrom.
Generally speaking it will look like this:
URLRoot() & "db/" & [_DBID_TASKS] & "?a=API_EditRecord&rid="&[Record ID#]&"&apptoken=xxxxxx&_fid_12="&URLEncode("true")&"&_fid_39="&URLEncode(User())&"&_fid_48="&URLEncode(Now())&"
&rdr="&
URLEncode([URL Add Time Entry])
This one Edits the parent task (marks complete) and redirects to add a time entry.
API_EditRecord call with a RDR to the AddGenRecordFrom.
Generally speaking it will look like this:
URLRoot() & "db/" & [_DBID_TASKS] & "?a=API_EditRecord&rid="&[Record ID#]&"&apptoken=xxxxxx&_fid_12="&URLEncode("true")&"&_fid_39="&URLEncode(User())&"&_fid_48="&URLEncode(Now())&"
&rdr="&
URLEncode([URL Add Time Entry])
This one Edits the parent task (marks complete) and redirects to add a time entry.