TACTIC Open Source
API doesn´t retrieve .code of retired sobject - Printable Version

+- TACTIC Open Source (http://forum.southpawtech.com)
+-- Forum: TACTIC Open Source (http://forum.southpawtech.com/forumdisplay.php?fid=3)
+--- Forum: TACTIC Discussion (http://forum.southpawtech.com/forumdisplay.php?fid=4)
+--- Thread: API doesn´t retrieve .code of retired sobject (/showthread.php?tid=236)



API doesn´t retrieve .code of retired sobject - Nachogor - 07-29-2021

Hi all!

Our Python API creates all the shots as sObjects automatically, but whenever the last shot has been retired it tries to create a sObject with the same name and we have a problem. If we rename the retired sObject´s code everything works ok.
Is there anyway to force the API to read the code of all the sObjects regardless they are retired or not?

THanks!
Nacho


RE: API doesn´t retrieve .code of retired sobject - Diego - 07-30-2021

Many api methods like query() end eval() and get_parent() have a show_retired boolean keyword


RE: API doesn´t retrieve .code of retired sobject - Nachogor - 07-30-2021

THanks!