VerifyOverrideNextStatusCode

Verify Override Next Status Code

Minor Business Rule

Object Name: B4000960

Parent DLL: COPBASE

Location: Client/Server

Language: C

Use this function to verify all the override next status codes against the other allowed status codes 
in the order activity rules.  Prior to calling this function, you must call the 

VerifyActivityRulesStatusCode function to retrieve all the allowed status codes.  If the override next status code is not 

valid, this function will issue an error message 0280 and set errorcode to 1

Data Structure

D4000960 - VerifyOverrideNextStatusCode

Parameter NameData ItemData TypeReq/OptI/O/Both
szOverrideNextStatusNXT2charNONENONE

User defined code (40/AT) that specifies what the next standard step is in the processing cycle for this order type. You set up the steps for 
the processing cycle on the Order Activity Rules form.

szNextStatusNXTRcharNONENONE

A user defined code (system 40/type AT) indicating the next step in the order flow of the line type.

szAllowedStatus1A1TRcharNONENONE

This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or 
expected next step, this field is an allowed override. The system does not allow you to initiate an order line step or status not defined as either 
the expected next status or an allowed status. Other allowed status codes let you bypass processing steps. These codes are often 
referred to in processing options as  "override next status codes."

szAllowedStatus2A2TRcharNONENONE

This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or 
expected next step, this field is an allowed override. The system does not allow you to initiate an order line step or status not defined as either 
the expected next status or an allowed status. Other allowed status codes let you bypass processing steps. These codes are often 
referred to in processing options as  "override next status codes."

szAllowedStatus3A3TRcharNONENONE

This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or 
expected next step, this field is an allowed override. The system does not allow you to initiate an order line step or status not defined as either 
the expected next status or an allowed status. Other allowed status codes let you bypass processing steps. These codes are often 
referred to in processing options as  "override next status codes."

szAllowedStatus4A4TRcharNONENONE

This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or 
expected next step, this field is an allowed override. The system does not allow you to initiate an order line step or status not defined as either 
the expected next status or an allowed status. Other allowed status codes let you bypass processing steps. These codes are often 
referred to in processing options as  "override next status codes."

szAllowedStatus5A5TRcharNONENONE

This is an optional field indicating a status that can be performed as the next step in the order process. Although this is not the preferred or 
expected next step, this field is an allowed override. The system does not allow you to initiate an order line step or status not defined as either 
the expected next status or an allowed status. Other allowed status codes let you bypass processing steps. These codes are often 
referred to in processing options as  "override next status codes."

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

Related Functions

None

Related Tables

None