"metengr: which para states the requirement of material traceability?"
You would be looking for a 'negative', XL86NL. The language in B31.3 addresses maintaining material such that all presslure-boundary items are built using Code Compliant materials. Period.
The 'gotcha' part is when you actually try to build something and prove that you have never incorporated a substandard item in your piping system. Pipe has its spec, grade, and Heat Number stenciled down the length of the piece. Mr. Freddie Fitter needs an 8-inch long piece to go between an Ell and a Flange. He cut around the spec stencil, and the Heat Number was where the weld was going, so he buffed all that paint off while prepping for the welding. Without some form of traceability, how do you prove to the Owner's Inspector that that 8-inch slice of pipe actually meets SA-106 Gr.B?
Granted, if there is no other spec & grade of pipe in the entire fabrication area, the pipe storage yard, and the crew's gang-box, you will be able to 'sell' that piece to an Inspector. But if that Inspector finds some SA-53 Grade A [soft] pipe of the same size and schedule, somebody had better have maintained traceability of your 8-inch slice by color-coding, transfering the spec & grade and/or the Heat Number to that 8-inch piece during the cutting process, or some other reasonably foolproof ID method.
Otherwise, that piece is of indetermanent origin. It will have to be cut out and replaced with a piece that you can prove is the correct spec & grade. Thus, in the 'Real World' traceability becomes a necessity, unless you can have the Owner's Inspector stay with the fabrication process from the first cut of a stick of pipe, to the last weld on a pipe, on every shift that pipefitting and welding occur.
ASME flanges and other fittings are 'hard-stamped' with the Spec & Grade, so unless the painters get crazy prior to the Owner's Inspex, correct material on these can be verified after fabrication.