Hi Muhammad Haaris,
Do I understand you right that you want to modify the standard project posting logic by adding some code?
I would not recommend doing something like that because this can go terribly wrong.
Can you provide some additional details on why you think that this is required?
Maybe there is a standard solution (workaround) available that already does what you look out for?!
Best regards,
Ludwig