Generate Custom Sequence number in Sage Enterprise Management

Generate Custom Sequence number in Sage Enterprise Management

Posted by

Generate Custom Sequence number in Sage Enterprise Management

Sometimes it is necessary to generate sequence numbers in Sage Enterprise Management. For example, unique numbers are generated automatically for sales order or purchase order numbers. Similarly, you may need to generate a sequence counter for a customer transaction.

Following steps are used to generate the sequence numbers in Sage Enterprise Management.

Go to:

             AllàSetupàGeneral Parameters àSequence number definition

First of all we need to define the Sequence Structure:

                                                                                                                             

Now create the sub program NUMERO to generate the sequence number.

The following are input parameters for Numero subprogram in Sage Enterprise Management

  1. Sequence number counter code
  2. Site (optional)
  3. Date
  4. Additional field
  5. Sequence number counter value
  6. Error status (OK = 0 else error)

The following code is used to generate the new sequence number.

The following two tabs change content below.
Panni

Panni

Panni is an Alberta based technology consulting firm offering consulting services in Sage ERP X3, business intelligence, business collaboration, invoice automation to medium and large enterprises. Leveraging our deep industry knowledge and technical expertise, we help companies improve and optimize their business processes by creating technology-enabled business solutions.

Leave a Reply