Functional Description
Purpose
This function will read through all contract detail lines for a given contract and cancel all lines that are not already canceled and not flagged as deleted.
After the contract detail lines are canceled, the contract header will be canceled. The credit and cancel amounts will also be calculated and updated in
each contract detail line.
D1702040A - F1721 Cancel Contract
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnContractNo_DOCO | DOCO | MATH_NUMERIC | REQ | INPUT |
A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry,
| ||||
szContractChangeNo_COCH | COCH | char | REQ | INPUT |
The change number of the contract. The change order number of the base contract is always initialized to 000. Each time you enter a
| ||||
szCancellationReason_CNRC | CNRC | char | REQ | INPUT |
A user defined code for defining reasons a contract was cancelled. | ||||
jdCancelDate_CNDJ | CNDJ | JDEDATE | REQ | INPUT |
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
| ||||
cSubledgerDefault_SUBDF | SUBDF | char | REQ | INPUT |
A value that defines the default value for the Subledger field.
For Service Contracts, valid values are:
Blank No default
1 Contract
| ||||
mnCancelNoticePeriod_CNOT | CNOT | MATH_NUMERIC | REQ | INPUT |
The cancellation period associated with a contract. | ||||
szProgramId_PID | PID | char | REQ | INPUT |
The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry
| ||||
cFactorValueType_FVTY | FVTY | char | REQ | INPUT |
A code that indicates whether the factor value is a multiplier (%) or an additional/deductible cash amount ($) when applied to an order's
| ||||
cSuppressErrors_EV01 | EV01 | char | OPT | NONE |
An option that specifies the type of processing for an event. | ||||
cErrorCode_ERRC | ERRC | char | OPT | NONE |
This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document
| ||||
szErrorMsgID_DTAI | DTAI | char | OPT | NONE |
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
| ||||
jdHdrStartDate_CSDT | CSDT | JDEDATE | REQ | INPUT |
The date you actually start work on the contract. | ||||
jdHdrEndDate_CDTE | CDTE | JDEDATE | REQ | INPUT |
The date you actually completed work on the contract. | ||||
mnHdrCancelFeeDom_CFEE | CFEE | MATH_NUMERIC | REQ | INPUT |
The fee billed to a customer when cancelling a contract. | ||||
mnHdrCancelFeeFor_CFEF | CFEF | MATH_NUMERIC | REQ | INPUT |
The fee billed to a customer when cancelling a contract. | ||||
mnHdrTotalDom_TOTD | TOTD | MATH_NUMERIC | REQ | INPUT |
Total dollars is a factor used to calculate average days to pay. The amount is equal to the sum of cash received against valid accounts
| ||||
mnHdrTotalFor_FOAG | FOAG | MATH_NUMERIC | REQ | INPUT |
When an adjustment is made to an invoice, the gross amount of the pay item before the adjustment. The foreign original gross amount is
| ||||
cPrepayentProcessing_EV01 | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. | ||||
szHdrPrepaymentCode_SPHD | SPHD | char | REQ | INPUT |
A code that indicates special processing requirements for certain user defined code values. The value that you enter in this field is unique
| ||||
mnPrePayJobNo_JOBS | JOBS | MATH_NUMERIC | REQ | INPUT |
The job number (work station ID) which executed the particular job. | ||||
cMode_EV01 | EV01 | char | REQ | INPUT |
An option that specifies the type of processing for an event. | ||||
mnDomesticCancelAmount_CANDM | CANDM | MATH_NUMERIC | OPT | OUTPUT |
The monetary amount that has been cancelled. The monetary amount is expressed in the currency that is set up for the company initiating
| ||||
mnLineNumber_LNID | LNID | MATH_NUMERIC | OPT | INPUT |
A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns
| ||||
szContractBU_MCU | MCU | char | OPT | INPUT |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
|
None |
None |