Update index.md

Fixed the code example with missing parenthesis.
This commit is contained in:
Naresh 2022-07-11 09:32:11 +01:00 committed by GitHub
parent f752d97ccc
commit ced983249c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -64,7 +64,7 @@ Some examples to work with the list of fields:
trigger OnModifyRecord(): Boolean
begin
ItemAPIOperations.ModifyItem(Rec, TempFieldSet;
ItemAPIOperations.ModifyItem(Rec, TempFieldSet);
exit(false);
end;
@ -105,4 +105,4 @@ codeunit 50000 "Item API Operations"
```
## Benefits
Having a list of fields that are part of the API request provides more information during to the insert or modify operation. This helps to implement specific behavior, based on which fields were specified in the API request.
Having a list of fields that are part of the API request provides more information during to the insert or modify operation. This helps to implement specific behavior, based on which fields were specified in the API request.