F1721UpdateContractBillingInfo

F1721 Update Contract Billing Info

Minor Business Rule

Object Name: N1700760

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

This NER will be used to update the Billing information that exists within the F1721 Contract Detail file.  The fields being updated will be: AA1 

(Short-Term Amount), AA2 (Long-Term Amount) and BILLF (Billed Flag).


1.2Setup Notes and Prerequisites



1.3Special Logic


2.Technical Specifications

2.4Processing 

IF Mode != 1

IF Suppress Error Message != '1'

Set NER Error (070O)
END IF
Error Message ID = 070O

ELSE

Update.F1721

BF Contract Number = Contract Number

BF Contract Change Number = Contract Change Number

BF Contract Line Number = Contract Line Number

BF Short-Term Amount -> Short-Term Amount (AA1)
BF Long-Term Amount -> Long-Term Amount (AA2)

BF Billed Flag -> Billed Flag (BILLF)

IF File I/O Status != Success

IF Suppress Error Message != '1'

Set NER Error (013H)

END IF

Error Message ID = 013H

END IF

END IF


Data Structure

D1700760 - F1721 Update Contract Billing Info

Parameter NameData ItemData TypeReq/OptI/O/Both
cModeEV01charOPTNONE

1 = Update Short Term, Long Term and Billed Flag with values passed in.
^

cSuppressErrorMessageSUPPScharOPTNONE

1 = Suppresses Error Messages
Blank = Does NOT Suppress Error Messages

^

szErrorMessageIDDTAIcharOPTNONE

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.

mnContractNumberDOCOMATH_NUMERICOPTNONE

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.

szContractChangeNumCOCHcharOPTNONE

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.

mnContractLineNumberLNIDMATH_NUMERICOPTNONE

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.

mnShortTermAmountAA1MATH_NUMERICOPTNONE

A number that identifies the actual amount.

mnLongTermAmountAA2MATH_NUMERICOPTNONE

Amount.

cBilledFlagBILLFcharOPTNONE

0 = Mark as Non-Billed
1 = Mark as Billed 

^

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.

Related Functions

None

Related Tables

None