AddToDraftCache

Create Cache for Draft (Effecto) Prints - 03B

Minor Business Rule

Object Name: B74S0120

Parent DLL: CFIN

Location: Client/Server

Language: C

B74S0120
Add To Draft Cache


Functional Description


Purpose

To add draft information to cache.


Setup Notes and Prerequisites


Special Logic


Technical Specifications


Parameters

ItemDescriptionI/OReq?Notes

STFEmnStampFeeIY

CTLszAPChecksControlFieldCTLIY

AAPmnAmountOpenIY

DDJjdDateDueJulianIY

COszCompanyIY

AN8mnAddressNumberIY

CTY1szCityIN

VC30AszClauseLength30IN

DATE01jdEmissionDateN

PYIDmnPaymentIdIYOnly required if called by R74S522

PIDszProgramIdIYOnly required if called by R74S522


Related Tables


Related Business Functions


Processing

• Initialize draft cache
• Copy STFE, CTL, AAP, DDJ, CO, AN8, PYID, and PID to draft structure
• Add draft structure to draft cache
^

Data Structure

D74S0120 - Create Cache for Draft (Effecto) Prints               - 03B

Parameter NameData ItemData TypeReq/OptI/O/Both
mnStampFeeSTFEMATH_NUMERICOPTNONE

The fee amount (Timbre) paid to the government when a draft (Efecto) is created. The fee is based on the following factors: The amount of 
the draft receipt The number of days between the draft origination date and the draft due date The currency code The effective date 

szAPChecksControlFieldCTLCTLcharOPTNONE

Accounts Payable - A code the system uses to determine the order in which A/P payments are printed. The value of the field differs 
depending on how you print checks. For example, if checks are printed by job, the field contains the job number. If checks are printed by contract 
number, the field contains the contract number.  Accounts Receivable - A number that identifies the statement on which the invoice appears.

mnAmountOpenAAPMATH_NUMERICOPTNONE

The amount of an invoice or voucher pay item that is unpaid.

jdDateDueJulianDDJJDEDATEOPTNONE

In Accounts Receivable, the date that the net payment is due. In Accounts Payable, the date that the payment is due to receive a discount 
or, if no discount is offered, the net due date. The system calculates the due date based on the payment term entered, or you can enter it 
manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the 
payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how 
the system calculates the due date for debit and credit memos.

szCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szCityCTY1charOPTNONE

A name that indicates the city associated with the address.

szClauseLength30VC30AcharOPTNONE

This is a generic field used as a work field in Everest.

jdEmissionDateDATE01JDEDATEOPTNONE

Event point for JDE Date.

mnPaymentIDPYIDMATH_NUMERICOPTNONE

A number that the system assigns from Next Numbers to identify and track payment records.

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

Related Functions

None

Related Tables

None
AddToFeeCache

AddToFeeCache

Create Cache for Draft (Effecto) Prints - 03B

Minor Business Rule

Object Name: B74S0120

Parent DLL: CFIN

Location: Client/Server

Language: C

B74S0120
Add To Fee Cache


Functional Description


Purpose

To add stamp fee amount to cache.


Setup Notes and Prerequisites


Special Logic


Technical Specifications


Parameters

ItemDescriptionI/OReq?Notes

STFEmnStampFeeIY

CTLszAPChecksControlFieldCTLIN

AAPmnAmountOpenIN

DDJjdDateDueJulianIN

COszCompanyIN

AN8mnAddressNumberIN

CTY1szCityIN

VC30AszClauseLength30IN

DATE01jdEmissionDateN

PYIDmnPaymentIdIYOnly required if called by R74S522

PIDszProgramIdIYOnly required if called by R74S522


Related Tables


Related Business Functions


Processing

• Initialize fee cache
• Copy STFE to fee structure
• Fetch fee cache to see if the fee amount already exists in the cache
• If fetch fail, add fee structure to the fee cache
• End if

^

Data Structure

D74S0120 - Create Cache for Draft (Effecto) Prints               - 03B

Parameter NameData ItemData TypeReq/OptI/O/Both
mnStampFeeSTFEMATH_NUMERICOPTNONE

The fee amount (Timbre) paid to the government when a draft (Efecto) is created. The fee is based on the following factors: The amount of 
the draft receipt The number of days between the draft origination date and the draft due date The currency code The effective date 

szAPChecksControlFieldCTLCTLcharOPTNONE

Accounts Payable - A code the system uses to determine the order in which A/P payments are printed. The value of the field differs 
depending on how you print checks. For example, if checks are printed by job, the field contains the job number. If checks are printed by contract 
number, the field contains the contract number.  Accounts Receivable - A number that identifies the statement on which the invoice appears.

mnAmountOpenAAPMATH_NUMERICOPTNONE

The amount of an invoice or voucher pay item that is unpaid.

jdDateDueJulianDDJJDEDATEOPTNONE

In Accounts Receivable, the date that the net payment is due. In Accounts Payable, the date that the payment is due to receive a discount 
or, if no discount is offered, the net due date. The system calculates the due date based on the payment term entered, or you can enter it 
manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the 
payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how 
the system calculates the due date for debit and credit memos.

szCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szCityCTY1charOPTNONE

A name that indicates the city associated with the address.

szClauseLength30VC30AcharOPTNONE

This is a generic field used as a work field in Everest.

jdEmissionDateDATE01JDEDATEOPTNONE

Event point for JDE Date.

mnPaymentIDPYIDMATH_NUMERICOPTNONE

A number that the system assigns from Next Numbers to identify and track payment records.

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

Related Functions

None

Related Tables

None
CallR74S503

CallR74S503

Create Cache for Draft (Effecto) Prints - 03B

Minor Business Rule

Object Name: B74S0120

Parent DLL: CFIN

Location: Client/Server

Language: C

B74S0120
Call R74S503


Functional Description

Purpose

This business function calls the UBE R74S503 and passes stamp fee amount, city, clause, and emission 

date to the UBE.


Setup Notes and Prerequisites


Special Logic


Technical Specifications


Parameters

ItemDescriptionI/OReq?Notes

STFEmnStampFeeIY

CTLszAPChecksControlFieldCTLIN

AAPmnAmountOpenIN

DDJjdDateDueJulianIN

COszCompanyIN

AN8mnAddressNumberIN

CTY1szCityIY

VC30AszClauseLength30IY

DATE01jdEmissionDateYOnly required if called by R74S502

PYIDmnPaymentIdIN

PIDszProgramIdIY


Related Tables


Related Business Functions


Processing

• Initialize draft cache
• Fetch fee amount from fee cache
• Prepare pUBEVar data structure for calling R74S503
• Copy City, Clause, Emission Date(if call by R74S502), and Program ID to the data structure for 
passing to R74S503

• While fetch successfully
• Call UBE R74S503
• Fetch next fee amount from fee cache
• End while
^

Data Structure

D74S0120 - Create Cache for Draft (Effecto) Prints               - 03B

Parameter NameData ItemData TypeReq/OptI/O/Both
mnStampFeeSTFEMATH_NUMERICOPTNONE

The fee amount (Timbre) paid to the government when a draft (Efecto) is created. The fee is based on the following factors: The amount of 
the draft receipt The number of days between the draft origination date and the draft due date The currency code The effective date 

szAPChecksControlFieldCTLCTLcharOPTNONE

Accounts Payable - A code the system uses to determine the order in which A/P payments are printed. The value of the field differs 
depending on how you print checks. For example, if checks are printed by job, the field contains the job number. If checks are printed by contract 
number, the field contains the contract number.  Accounts Receivable - A number that identifies the statement on which the invoice appears.

mnAmountOpenAAPMATH_NUMERICOPTNONE

The amount of an invoice or voucher pay item that is unpaid.

jdDateDueJulianDDJJDEDATEOPTNONE

In Accounts Receivable, the date that the net payment is due. In Accounts Payable, the date that the payment is due to receive a discount 
or, if no discount is offered, the net due date. The system calculates the due date based on the payment term entered, or you can enter it 
manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the 
payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how 
the system calculates the due date for debit and credit memos.

szCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szCityCTY1charOPTNONE

A name that indicates the city associated with the address.

szClauseLength30VC30AcharOPTNONE

This is a generic field used as a work field in Everest.

jdEmissionDateDATE01JDEDATEOPTNONE

Event point for JDE Date.

mnPaymentIDPYIDMATH_NUMERICOPTNONE

A number that the system assigns from Next Numbers to identify and track payment records.

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

Related Functions

None

Related Tables

None
CreateCaches

CreateCaches

Create Cache for Draft (Effecto) Prints - 03B

Minor Business Rule

Object Name: B74S0120

Parent DLL: CFIN

Location: Client/Server

Language: C

B74S0120
Create Caches


Functional Description


Purpose

To create fee and draft caches


Setup Notes and Prerequisites


Special Logic


Technical Specifications


Parameters

ItemDescriptionI/OReq?Notes

STFEmnStampFeeIN

CTLszAPChecksControlFieldCTLIN

AAPmnAmountOpenIN

DDJjdDateDueJulianIN

COszCompanyIN

AN8mnAddressNumberIN

CTY1szCityIN

VC30AszClauseLength30IN

DATE01jdEmissionDateN

PYIDmnPaymentIdIN

PIDszProgramIdIN


Related Tables


Related Business Functions


Processing

• Initialize draft cache and fee cache

^

Data Structure

D74S0120 - Create Cache for Draft (Effecto) Prints               - 03B

Parameter NameData ItemData TypeReq/OptI/O/Both
mnStampFeeSTFEMATH_NUMERICOPTNONE

The fee amount (Timbre) paid to the government when a draft (Efecto) is created. The fee is based on the following factors: The amount of 
the draft receipt The number of days between the draft origination date and the draft due date The currency code The effective date 

szAPChecksControlFieldCTLCTLcharOPTNONE

Accounts Payable - A code the system uses to determine the order in which A/P payments are printed. The value of the field differs 
depending on how you print checks. For example, if checks are printed by job, the field contains the job number. If checks are printed by contract 
number, the field contains the contract number.  Accounts Receivable - A number that identifies the statement on which the invoice appears.

mnAmountOpenAAPMATH_NUMERICOPTNONE

The amount of an invoice or voucher pay item that is unpaid.

jdDateDueJulianDDJJDEDATEOPTNONE

In Accounts Receivable, the date that the net payment is due. In Accounts Payable, the date that the payment is due to receive a discount 
or, if no discount is offered, the net due date. The system calculates the due date based on the payment term entered, or you can enter it 
manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the 
payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how 
the system calculates the due date for debit and credit memos.

szCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szCityCTY1charOPTNONE

A name that indicates the city associated with the address.

szClauseLength30VC30AcharOPTNONE

This is a generic field used as a work field in Everest.

jdEmissionDateDATE01JDEDATEOPTNONE

Event point for JDE Date.

mnPaymentIDPYIDMATH_NUMERICOPTNONE

A number that the system assigns from Next Numbers to identify and track payment records.

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

Related Functions

None

Related Tables

None
DestroyCaches

DestroyCaches

Create Cache for Draft (Effecto) Prints - 03B

Minor Business Rule

Object Name: B74S0120

Parent DLL: CFIN

Location: Client/Server

Language: C

B74S0120
Destroy Caches


Functional Description


Purpose

To destroy draft and fee caches.


Setup Notes and Prerequisites


Special Logic


Technical Specifications


Parameters

ItemDescriptionI/OReq?Notes

STFEmnStampFeeIN

CTLszAPChecksControlFieldCTLIN

AAPmnAmountOpenIN

DDJjdDateDueJulianIN

COszCompanyIN

AN8mnAddressNumberIN

CTY1szCityIN

VC30AszClauseLength30IN

DATE01jdEmissionDateN

PYIDmnPaymentIdIN

PIDszProgramIdIN


Related Tables


Related Business Functions


Processing

• Initialize draft cache and fee cache
• Terminate all for draft cache and fee cache
^

Data Structure

D74S0120 - Create Cache for Draft (Effecto) Prints               - 03B

Parameter NameData ItemData TypeReq/OptI/O/Both
mnStampFeeSTFEMATH_NUMERICOPTNONE

The fee amount (Timbre) paid to the government when a draft (Efecto) is created. The fee is based on the following factors: The amount of 
the draft receipt The number of days between the draft origination date and the draft due date The currency code The effective date 

szAPChecksControlFieldCTLCTLcharOPTNONE

Accounts Payable - A code the system uses to determine the order in which A/P payments are printed. The value of the field differs 
depending on how you print checks. For example, if checks are printed by job, the field contains the job number. If checks are printed by contract 
number, the field contains the contract number.  Accounts Receivable - A number that identifies the statement on which the invoice appears.

mnAmountOpenAAPMATH_NUMERICOPTNONE

The amount of an invoice or voucher pay item that is unpaid.

jdDateDueJulianDDJJDEDATEOPTNONE

In Accounts Receivable, the date that the net payment is due. In Accounts Payable, the date that the payment is due to receive a discount 
or, if no discount is offered, the net due date. The system calculates the due date based on the payment term entered, or you can enter it 
manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the 
payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how 
the system calculates the due date for debit and credit memos.

szCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szCityCTY1charOPTNONE

A name that indicates the city associated with the address.

szClauseLength30VC30AcharOPTNONE

This is a generic field used as a work field in Everest.

jdEmissionDateDATE01JDEDATEOPTNONE

Event point for JDE Date.

mnPaymentIDPYIDMATH_NUMERICOPTNONE

A number that the system assigns from Next Numbers to identify and track payment records.

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

Related Functions

None

Related Tables

None
ReadFromDraftCache

ReadFromDraftCache

Create Cache for Draft (Effecto) Prints - 03B

Minor Business Rule

Object Name: B74S0120

Parent DLL: CFIN

Location: Client/Server

Language: C

B74S0120
Read From Draft Cache


Functional Description


Purpose

To read draft information from draft cache


Setup Notes and Prerequisites


Special Logic


Technical Specifications


Parameters

ItemDescriptionI/OReq?Notes

STFEmnStampFeeIY

CTLszAPChecksControlFieldCTLOY

AAPmnAmountOpenOY

DDJjdDateDueJulianOY

COszCompanyOY

AN8mnAddressNumberOY

CTY1szCityON

VC30AszClauseLength30ON

DATE01jdEmissionDateYOnly Required if PID = R74S522

PYIDmnPaymentIdOYOnly Required if PID = R74S522

PIDszProgramIdIY


Related Tables


Related Business Functions


Processing

• Initialize draft cache
• Copy fee amount to the key structure used for fetching draft cache
• Fetch draft cache
• If fetch successfully
• Copy CTL, AAP, DDJ, CO, AN8, DATE01(if PID = R74S522), and  PYID(if PID = R74S522) to a structure 
for passing out of this function

• End if

Data Structure

D74S0120 - Create Cache for Draft (Effecto) Prints               - 03B

Parameter NameData ItemData TypeReq/OptI/O/Both
mnStampFeeSTFEMATH_NUMERICOPTNONE

The fee amount (Timbre) paid to the government when a draft (Efecto) is created. The fee is based on the following factors: The amount of 
the draft receipt The number of days between the draft origination date and the draft due date The currency code The effective date 

szAPChecksControlFieldCTLCTLcharOPTNONE

Accounts Payable - A code the system uses to determine the order in which A/P payments are printed. The value of the field differs 
depending on how you print checks. For example, if checks are printed by job, the field contains the job number. If checks are printed by contract 
number, the field contains the contract number.  Accounts Receivable - A number that identifies the statement on which the invoice appears.

mnAmountOpenAAPMATH_NUMERICOPTNONE

The amount of an invoice or voucher pay item that is unpaid.

jdDateDueJulianDDJJDEDATEOPTNONE

In Accounts Receivable, the date that the net payment is due. In Accounts Payable, the date that the payment is due to receive a discount 
or, if no discount is offered, the net due date. The system calculates the due date based on the payment term entered, or you can enter it 
manually. If you enter a negative voucher or invoice (debit or credit memo), the system might use the G/L date as the due date regardless of the 
payment term entered. A processing option in the master business function (P0400047 for vouchers and P03B0011 for invoices) controls how 
the system calculates the due date for debit and credit memos.

szCompanyCOcharOPTNONE

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szCityCTY1charOPTNONE

A name that indicates the city associated with the address.

szClauseLength30VC30AcharOPTNONE

This is a generic field used as a work field in Everest.

jdEmissionDateDATE01JDEDATEOPTNONE

Event point for JDE Date.

mnPaymentIDPYIDMATH_NUMERICOPTNONE

A number that the system assigns from Next Numbers to identify and track payment records.

szProgramIdPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

Related Functions

None

Related Tables

None
osition: absolute; left: 0.500000in">szAPChecksControlFieldCTLIN

AAPmnAmountOpenIN

DDJjdDateDueJulianIN

COszCompanyIN

AN8mnAddressNumberIN

CTY1szCityIY

VC30AszClauseLength30IY

DATE01jdEmissionDateYOnly required if called by R74S502

PYIDmnPaymentIdIN

PIDszProgramIdIY


Related Tables


Related Business Functions


Processing

• Initialize draft cache
• Fetch fee amount from fee cache
• Prepare pUBEVar data structure for calling R74S503
• Copy City, Clause, Emission Date(if call by R74S502), and Program ID to the data structure for 
passing to R74S503

• While fetch successfully
• Call UBE R74S503
• Fetch next fee amount from fee cache
• End while
^

Data Structure

D74S0120 - Create Cache for Draft (Effecto) Prints               - 03B

Parameter NameData ItemData TypeReq/OptI/O/Both
mnStampFeeSTFEMATH_NUMERICOPTNONE

The fee amount (Timbre) paid to the government when a draft (Efecto) is created. The fee is based on the following factors: The amount of 
the draft receipt The number of days between the draft origination date and the draft due date The currency code The effective date 

szAPChecksControlFieldCTLCTLcharOPTNONE

Accounts Payable - A code the system uses to determine the order in which A/P payments are printed. The value of the field differs 
depending on how you print checks. For example, if checks are printed by job, the field contains the job number. If checks are printed by contract 
number, the field contains the contract number.  Accounts Receivable - A number that identifies the statement on which the invoice appears.

mnAmountOpenAAPMATH_NUMERICOPTNONE

The amount of an invoice or voucher pay item that is unpaid.

jdDateDueJulianDDJJDED