F40R31GetDemand

F40R31 Additional Label Data

Minor Business Rule

Object Name: B40R0710

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose


Setup Notes and Prerequisites

This function requires certain parameters to be passed to it:

MCU, AN8, and SHAN are required.  DEID is also required if you are calling this 

function standalone, i.e. you aren't using the Wrapper "GetAdditionalLabelData" 

function to call F40R31GetDemand.


Special Logic




Technical Specification




Data Structure

D40R0710B - F40R31 Get Demand DSTR

Parameter NameData ItemData TypeReq/OptI/O/Both
cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cErrorCodeERRCcharOPTOUTPUT

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).

szBranchPlantMCUcharREQINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnSoldToAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnShipToSHANMATH_NUMERICREQINPUT

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

mnDemandIDDEIDMATH_NUMERICOPTINPUT

A system-generated number that identifies a demand record.

mnJobNumberJOBSMATH_NUMERICOPTBOTH

The job number (work station ID) which executed the particular job.

mnShortItemNumberITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

mnDemandDetailSupplKeySDIDMATH_NUMERICOPTNONE

A number that identifies supplemental data records and associates them with demand records.

mnUniqueKeyIDUKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

Related Functions

None

Related Tables

None
F40R31GetDemandPkg

F40R31GetDemandPkg

F40R31 Additional Label Data

Minor Business Rule

Object Name: B40R0710

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose


Setup Notes and Prerequisites

This function requires certain parameters to be passed to it:

MCU, AN8, and SHAN are required.  DEID and ITM are also required if you are 

calling this function standalone, i.e. you aren't using the Wrapper 

"GetAdditionalLabelData" function to call F40R31GetDemandPkg.


Special Logic




Technical Specification




Data Structure

D40R0710C - F40R31 Get Demand Packaging DSTR

Parameter NameData ItemData TypeReq/OptI/O/Both
cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cErrorCodeERRCcharOPTOUTPUT

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).

szBranchPlantMCUcharREQINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnSoldToAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnShipToSHANMATH_NUMERICREQINPUT

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

mnDemandIDDEIDMATH_NUMERICOPTINPUT

A system-generated number that identifies a demand record.

mnJobNumberJOBSMATH_NUMERICOPTNONE

The job number (work station ID) which executed the particular job.

mnShortItemNumberITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

Related Functions

None

Related Tables

None
F40R31GetSupplementalData

F40R31GetSupplementalData

F40R31 Additional Label Data

Minor Business Rule

Object Name: B40R0710

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose


Setup Notes and Prerequisites

This function requires certain parameters to be passed to it:

UKID (if you plan on retrieving Demand Detail or Demand Header information), MCU, 

AN8, and SHAN are mandatory.  ITM is required if you are calling this function 

standalone or if you didn't call the Wrapper "GetAdditionalLabelData" with DEID.  

This function will also not have ITM if DEID was not passed into the main wrapper 

"GetAdditionalLabelData" .  


Special Logic




Technical Specification




Data Structure

D40R0710D - F40R31 Get Supplemental Data DSTR

Parameter NameData ItemData TypeReq/OptI/O/Both
cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

szBranchPlantMCUcharREQINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnSoldToAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnShipToSHANMATH_NUMERICREQINPUT

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

mnDemandIDDEIDMATH_NUMERICOPTINPUT

A system-generated number that identifies a demand record.

mnShortItemNumberITMMATH_NUMERICREQINPUT

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

mnJobNumberJOBSMATH_NUMERICOPTBOTH

The job number (work station ID) which executed the particular job.

mnUniqueKeyIDUKIDMATH_NUMERICOPTINPUT

This field is a unique number used to identify a record in a file.

mnDemandDetailSupplKeySDIDMATH_NUMERICOPTINPUT

A number that identifies supplemental data records and associates them with demand records.

Related Functions

None

Related Tables

None
GetAdditionalLabelData

GetAdditionalLabelData

F40R31 Additional Label Data

Minor Business Rule

Object Name: B40R0710

Parent DLL: CALLBSFN

Location: Client/Server

Language: C

Functional Description

Purpose


Setup Notes and Prerequisites

This function, "GetAdditionalLabelData"  is a wrapper business function.  It 

calls the 3 other functions that reside in B40R0710 to retrieve additional label data. 

 MCU, AN8, and SHAN are required to be passed in.  Demand Detail and Demand 

Packaging info will only be retrieved if Demand ID (DEID) is passed in. This wrapper 

will also call F40R31GetSupplementalData, which requires UKID and SDID to be passed.


Special Logic




Technical Specification




Data Structure

D40R0710A - Get Additional Label Data DSTR

Parameter NameData ItemData TypeReq/OptI/O/Both
cSuppressErrorMessageSUPPScharOPTINPUT

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTOUTPUT

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cErrorCodeERRCcharOPTOUTPUT

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).

szBranchPlantMCUcharREQINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnSoldToAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnShipToSHANMATH_NUMERICREQINPUT

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

mnDemandIDDEIDMATH_NUMERICOPTINPUT

A system-generated number that identifies a demand record.

mnJobNumberJOBSMATH_NUMERICOPTNONE

The job number (work station ID) which executed the particular job.

mnShortItemNumberITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

mnUniqueKeyIDUKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

mnDemandDetailSupplKeySDIDMATH_NUMERICOPTNONE

A number that identifies supplemental data records and associates them with demand records.

Related Functions

None

Related Tables

None