When and how is the Bill ID shown on the CN when part bills are created?

When part bills are created against a CN, the Bill ID does not appear immediately.

However, when a final bill is created covering the entire CN amount, the last part bill number is saved and shown against the CN.