how to add conditions for posting on free text invoice

hi friends ,

i want to add one more condition before posting a free text invoine . where should i write the code for it.

for ex : i want to add condition like if customer name is not starts with ‘S’ , then cant allow to post.

thanks

hi

u can write it on post buton.

Hi,

You can add a test in the fetch() method

regards,

Thomas