I am trying to Extend the Item Template and we I look at the base app source code in both C/Side and AL(code) I see more parameters then the AL compiler is seeing?
Here is the integration event from C/side
[IntegrationEvent] OnAfterCreateFieldRefArray(VAR FieldRefArray : ARRAY [30] OF FieldRef;RecRef : RecordRef;VAR I : Integer)
Here is the code from AL

but when I try to implement I so I can increment the array it is not valid:
[EventSubscriber(ObjectType::Table, Database::"Item Template", 'OnAfterCreateFieldRefArray', '', false, false)]
local procedure HandleOnAfterCreateFieldRefArray(var FieldRefArray: array[30] of FieldRef; RecRef: RecordRef; var I: Integer)
begin
end;
The member referenced by event subscriber 'HandleOnAfterCreateFieldRefArray' parameter 'I' is not found.
Here is the screenshot. I am not sure how to get past this error?
