F1721GetLastLineNumber

F1721 Select and Fetch data

Minor Business Rule

Object Name: B1700570

Parent DLL: CCRIN

Location: Client/Server

Language: C

Functional Description

Purpose

• The purpose of this function is to get the last line number entered.  This is typically used when entering the contract detail revisions.  The user has 
an option to display this form in revision.


Setup Notes and Prerequisites

• Contract must exist


Technical Specification


1.Set Selection based on Contract Number and Version
2.Select F1721 from Line Number descending.
3.Return line number



Data Structure

D1700570A - F1721 Get Last Line Number

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDocumentNumber_DOCODOCOMATH_NUMERICOPTINPUT

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szContractVersion_COCHCOCHcharOPTINPUT

The change number of the contract. The change order number of the base contract is always initialized to 000. Each time you enter a 
change order for a contract, the system automatically increases the change order number by one. For example, the base contract is the change 
order number 000, the first change order is 001, the second is 002, and so on.

cSuccessful_EV01EV01charOPTNONE

An option that specifies the type of processing for an event.

cSuppressError_EV01EV01charOPTNONE

An option that specifies the type of processing for an event.

cErrorCode_ERRCERRCcharOPTNONE

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

szDataItem_DTAIDTAIcharOPTNONE

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.

mnLineNumber_LNIDLNIDMATH_NUMERICOPTOUTPUT

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

Related Functions

None

Related Tables

F1721 Contract Detail
F1721SelectandFetchdata

F1721SelectandFetchdata

F1721 Select and Fetch data

Minor Business Rule

Object Name: B1700570

Parent DLL: CCRIN

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

• To do the select function by six form control field values, and then to do the fetch next function. 
If any one of six filter values is equal to blank, that value won't be the filter key when we do the 

select function in F1721.  

'b7

1.2Setup Notes and Prerequisites

• This function is only to be used by P1723 to do the select and fetch next function in the F1721.
'b7

Data Structure

D1700570 - F1721 Select and Fetch data

Parameter NameData ItemData TypeReq/OptI/O/Both
mnOrderNumberDOCOMATH_NUMERICOPTBOTH

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szOrderTypeDCTOcharOPTBOTH

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

jdContractStartDateCSDTJDEDATEOPTBOTH

The date you actually start work on the contract.

jdContractEndDateCDTEJDEDATEOPTBOTH

The date you actually completed work on the contract.

szLineTypeLNTYcharOPTBOTH

A code that controls how the system processes lines on a transaction. It controls the systems with which the transaction interfaces, such as 
General Ledger, Job Cost, Accounts Payable, Accounts Receivable, and Inventory Management. It also specifies the conditions under 
which a line prints on reports, and it is included in calculations. Codes include the following: S Stock item   J Job cost   N Nonstock item   F Freight  
T Text information   M Miscellaneous charges and credits   W Work order

mnAddressNumberAN8MATH_NUMERICOPTBOTH

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

mnAddressNumberLessorLANOMATH_NUMERICOPTBOTH

The address book number for the lessor, renter, or lending institution.

szProductFamilyPRODFcharOPTBOTH

A code that classifies an inventory item into a group for customer service. Some examples include: Laser Printer, Inkjet, or Fax.

szProductModelPRODMcharOPTBOTH

A code that classifies an inventory item into a model for customer service. Some examples include: Laser Printer, Inkjet or Fax.

mnItemNumberNUMBMATH_NUMERICOPTBOTH

An 8-digit number that uniquely identifies an asset.

mnShortItemNumberITMMATH_NUMERICOPTBOTH

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

szServicePackageSERPcharOPTBOTH

A combination of service order type and coverage type used to define service support to which the customer is contractually entitled. A 
service package also contains response time and coverage group.

mnBillingDurationBDURMATH_NUMERICOPTBOTH

The billing duration associated with a contract.

szUnitofMeasureBilledBUMcharOPTBOTH

A user defined code (system 00/type UM) that identifies the unit of measurement for an amount or quantity as it was billed.  For example, it 
can represent a barrel, box, cubic year, gallon, an hour, and so on.

cSupressErrorMessageEV01charOPTBOTH

An option that specifies the type of processing for an event.

idF1721PointerGENLNGIDOPTBOTH

General purpose ID variable.

szErrorMessageIDDTAIcharOPTBOTH

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.

mnLineNumberLNIDMATH_NUMERICOPTBOTH

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

jdCancelDate_CNDJCNDJJDEDATEOPTBOTH

The date that the order should be canceled if the goods have not been sent to the customer or the goods have not been received from the 
supplier. This is a memo-only field and does not cause the system to perform any type of automatic processing. If a line on a sales order in 
canceled in Sales Order Entry, this field will  be updated with the date the line has been canceled.                         

jdDateSuspend_SSDJSSDJJDEDATEOPTBOTH

The date when a recurring order is no longer to be processed.

szDescription_DL01DL01charOPTNONE

A user defined name or remark.

mnNonBillDuration_CDURCDURMATH_NUMERICOPTNONE

The duration associated with a contract.

szAdjustSchedule_ASN2ASN2charOPTNONE

This user defined code (40/AS) identifies a price and adjustment schedule. A price and adjustment schedule contains one or more 
adjustment types for which a customer or an item might be eligible. The system applies the adjustments in the sequence that you specify in the 
schedule. You link customers to a price and adjustment schedule through the customer billing instructions. When you enter a sales order, the 
system copies the schedule attached to the sold to address into the order header. You can override this schedule at the detail line level.

szGLCatNonCovered_GLCNCGLCNCcharOPTNONE

A user defined code (41/9) that identifies the G/L Offset to use when the system is searching for the account to which it will post the 
non-covered portion of the accounting transaction. If you do not want to specify a G/L Offset, you can enter four asterisks in this field or you can leave 
this field blank. If you leave the field blank, the system uses the G/L Offset from Inventory.

szGLCategoryCovered_GLCCVGLCCVcharOPTNONE

A user defined code (41/9) that identifies the G/L Offset to use when the system is searching for the account to which it will post the covered 
portion (by warranty or contract) of the accounting transaction. If you do not want to specify a G/L Offset, you can enter four asterisks in this 
field or you can leave this field blank. If you leave this field blank, the system uses the G/L Offset from Inventory.

Related Functions

None

Related Tables

F1721 Contract Detail