Although there is a built-in Document Property called Revision Number (which you can see if you select File + Properties + Statistics, this is of no use, because it is incremented every time the document is saved. From a Quality perspective, the document revision number (we'll call it the version number from now on to distinguish it from the thing that gets incremented on each save) should be incremented each time a document is redistributed, and not each time it is saved (it could be saved many times during a single editing session).
Page numbering is set within each document (see Book Design Made Simple, page 245). To set your page numbering to automatic, start by opening the document containing your front matter. Your front matter will have a separate page numbering system from the rest of your book, using lowercase roman numerals. Go to the Pages panel, click on the thumbnail image of the first page to highlight it, then click Numbering & Section Options in the Pages fly-out menu. Select Automatic Page Numbering at the top, and lowercase roman numerals in the Page Numbering Style drop-down menu, as shown below. Click OK, and all the pages in the document will now be numbered with lowercase roman numerals starting with number i.
To include numbering prefixes from higher levels, enter text or click at the start of the Number box and choose Insert Number Placeholder and then select a Level option (for example, Level 1), or enter ^ and then the list level (for example, enter ^1). In a list with first levels numbered 1, 2, 3, and so on, and second levels numbered a, b, c, and so on, including the first-level prefix in the second level renders second-level numbers as 1a, 1b, 1c; 2a, 2b, 2c; 3a, 3b, 3c.
A best practice that we recommend to our clients is to create a base/folio master –with styled and positioned footers and current page number special characters– on which all other masters are based. This allows a footer that may contain date or issue information to be updated once and the changes are reflected in all of the master pages. If your masters only have current page number special characters then you can just add them to each master and the page numbers will be reflected when each master is applied to your document pages. document numbering in indesign