I tried this query:
SELECT Id, SerializedProduct.Id, SerializedProduct.OPL_Number__c, SerializedProduct.Product2.Name, RelatedRecord.SourceLocation.Name, RelatedRecord.DestinationLocation.Name, RelatedRecord.DestinationLocation.Id, RelatedRecord.SourceLocation.Id FROM SerializedProductTransaction
But I am getting this error: RelatedRecord.SourceLocation.Id FROM SerializedProductTransaction
^
ERROR at Row:1:Column:250
sObject type 'SerializedProductTransaction' is not supported. If you are attempting to use a custom object, be sure to append the '__c' after the entity name. Please reference your WSDL or the describe call for the appropriate names.
Can someone help me with this?
Thank you!
@Rajeshwari Jain is this a custom object or standard: SerializedProductTransaction?
what is the purpose of "RelatedRecord."? is it an object?