Generating a prime line number for a new line from a pre-configured number
Generating a prime line number for a new line from a pre-configured number prevents conflicts between prime line numbers in Sterling Order Management System Software and in an external system when order synchronization occurs.
About this task
To specify a pre-configured starting number:
- From the tree in the application rules side panel, choose Document Specific > (Document Type) > Order Attributes. The Order Attributes window displays in the work area.
- Choose the Others tab.
- In Generate Prime Line No. For New Line Starting From, enter the starting number. The starting prime line number must be a positive integer
- If you select the Assign Group Sequence Number To Order Lines option, order lines created during order creation or order modification are assigned sequence numbers to sort order lines based on their relationships.
- Choose the Save icon.
The value entered in the "Generate Prime Line Number for New Line Starting From:" field only affects orders created through the Console UI, not through direct API calls (e.g. createOrder())