why dont you just make the line number in cadworx be "P500001-456789" and not use custom fields?