Manyo,
Pipe wall thickness should be specified in the "Piping Material Specification" or "Piping class".
If, however you need to calculate the wall thickness, take a look in B31.3, it is written there how to determine this (never leave your home without the code:) ).
Regards,
P.S. I think that your boss never open the B31.3
_________________________
Dan