Bring Alternate Part to Job entry Level--BPM

Good day ,
there is alternative part feature , I need to auto bring that alternative part to job entry by select the original part…

Example ,
Part - A , Alternative Part - B
Job entry
Job material A is added from there I need to bring Part B at the time of Part A selection …

Suggest BPM Code…

Any suggestion on it…