Returns a record that contains only the specified fields.
function (
record
as record, optionalfields
as nullable any, optionalmissingField
as nullable any) as record
Returns a record which includes only the fields specified in list fields
from the input record
.
Record.Selection
Select the fields "Item" and "Price" in the record.
Record.SelectFields( [OrderID = 1, CustomerID = 1, Item = "Fishing rod", Price = 100.0] , {"Item", "Price"})
[Item = "Fishing rod", Price = 100]