GetByKey Method (Receipt)
- Last UpdatedNov 06, 2025
- 1 minute read
The GetByKey() method retrieves the specified receipt record from the Receipt table.
Parameters
- poId
- Required. Holds the purchase order ID.
- dateReceivedUtc
- Required. Holds the date and time, in UTC, when the goods were received.
- itemId
- Required. Holds the item ID of the goods received.
Return Value
Returns a DataSet that contains the DataRow of the specified receipt in the Receipt table. If no matching record is found, an empty DataSet is returned.