transaction.HasField is incorrectly returning True in ConnectorTest project (4 replies)
Transaction.HasField appears to be returning true when that field does not exist in Transaction.
In PushDataCustomer I have code which checks for a certain field existing in the dataset. The field does not exist, but Transaction.HasField() is returning true.
In my screenshot you can see that Transaction.HasField() returns true, but when you look at the XML for the Transaction, that field does not exist.
TICKET PRIORITY: MEDIUM/HIGH
Randy, HasField checks for the existence of field on the metadata. I.e. It's essentially a shortcut to the TransformRecordDefinition.HasField.
Closed due to inactivity.