Entry Point FILTER in Process PAYPROPAL: Payment Proposals

SUGGESTED

I have a problem with this Entry Point. I think it should be FILTRE not FILTER as stated in the Technical Help

I created a specific script YPAYPROP1.src (see below) and assigned to standard process PAYPROPAL  in Entry Points

I have records in table PINVOICE  with the Value 'MARIOL' in custom field YAPPROVER, but when I click on OK in  the Payment Proposal screen, after entering the needed data,  it doesn't return any records.

If I comment out #CRITSPE = ' [F:PIH]YAPPROVER="MARIOL" ' it brings up a lot of records.

$ACTION
Raz GPE
Gosub ENTREE From EXEFNC
If GPE=1 : Return : Endif

Case ACTION
When "FILTRE" : Gosub FILTRE
Endcase
Return

$FILTRE
CRITSPE = ' [F:PIH]YAPPROVER="MARIOL" '
Return

Can someone help me with what Am I doing wrong? Am I supposed to append CRITSPE to the existing CRITERIA?

Thanks for your help,

Mario