Change Plant :|: Help

Would someone please be so kind and teach me how I can use the Change Plant method in a BPM PostProcessing : an example please so I can put a BPM to change the plant:
ChangePlant Method

I know in fact that this exist but I don’t know how it works.
void ChangePlant( string ProposedPlant , ref SalesOrderTableset ds )