Hi Devin:

On Mon, 16 Jun 2008, Devin Bougie wrote:
> I'm having trouble using categories in v0.99.0.  If I clone DEMOART,
> for example, the categories no longer seem to function properly.  The
> original DEMOART document type works properly, but if I submit an
> article using the cloned DEMOART document type, the new record becomes
> "DEMO--2008-006" instead of  "DEMO-ARTICLE-2008-006".

(again I'm forwarding to the list Tony's reply)

The category (ARTICLE, PREPRINT or REPORT as selected on the first
page of the submission) is not getting through to the function that
generates the report number i.e. Report_Number_Generation.py
Please check that your parameters for Report_Number_Generation.py are

Parameter Name          Parameter Value
  autorngen                Y
  counterpath           lastid_DEMOART_<PA>categ</PA>_<PA>yy</PA>
  edsrn                 DEMOART_RN
  rnformat              DEMO-<PA>categ</PA>-<PA>yy</PA>
  rnin                  comboDEMOART
  yeargen               AUTO

The category for the submission is the parameter rnin which should
have the value comboDEMOART. comboDEMOART is defined as soon as you
select the category

regards
Tony Osborne

Reply via email to