B1702900 is a Business Function that works with default contract values. A user
would use this function to either retain the original values in a contract or
default them again from another source.
.
The Business Function has 3 modes:
1. Copy Header Defaults (Tax Information, Customer Currency, Document Type, Key
Company, Header Business Unit)
2. Copy Detail Defaults (Tax Information, Discount Information)
3. Copy Header and Detail Defaults
.
D1702900 - Copy Defaults
This DSTR is used by B1702900 (Copy Defaults).
| Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
|---|---|---|---|---|
| szProgramID_PID | PID | char | REQ | NONE |
The Program ID of the Program that is calling this BSFN. eg: R1730, R1735 | ||||
| szVersion_VERS | VERS | char | OPT | NONE |
The Version of this Program ID. If none is passed in, the default will be used.
| ||||
| mnCustomerNumber_AN8 | AN8 | MATH_NUMERIC | OPT | NONE |
The Customer Number for the contract. | ||||
| mnSiteNumber_LANO | LANO | MATH_NUMERIC | OPT | NONE |
The Site Number for the contract. | ||||
| szTaxArea_TXA1 | TXA1 | char | OPT | NONE |
Tax Rate/Area for the contract. | ||||
| szTaxExplCode_EXR1 | EXR1 | char | OPT | NONE |
Tax Explanation Code for the contract. | ||||
| szCustomerCurrency_CRCF | CRCF | char | OPT | NONE |
Customer Currency Code for the contract. | ||||
| szCompanyKey_KCOO | KCOO | char | OPT | NONE |
Key Company of the contract. | ||||
| szBusinessUnit_MCU | MCU | char | OPT | NONE |
Business Unit for the contract. | ||||
| mnForeignDisc_CDSA | CDSA | MATH_NUMERIC | OPT | NONE |
Foreign Discount Amount on the detail line of the contract. | ||||
| mnDomesticDisc_DSCT | DSCT | MATH_NUMERIC | OPT | NONE |
Domestic Discount Amount for the detail line of the contract. | ||||
| cDiscFactorType_DSFT | DSFT | char | OPT | NONE |
Factor Type for the discount on the detail line of the contract. eg: D (Amount)
| ||||
| mnDiscPercent_DSPC | DSPC | MATH_NUMERIC | OPT | NONE |
Discount Percent for the detail line on the contract. | ||||
| szDocumentType_DCTO | DCTO | char | OPT | NONE |
Document Type for the Contract. | ||||
| cMode_EV01 | EV01 | char | REQ | NONE |
Valid values are: | ||||
| szErrorMessageID_DTAI | DTAI | char | OPT | NONE |
Error Data Item for the Business Function. | ||||
| cErrorCode_ERRC | ERRC | char | OPT | NONE |
Error Code for the Business Function | ||||
| szP1720Version_VERS | VERS | char | OPT | NONE |
P1720 Version that is being used with current application/UBE. This value is
| ||||
| None |
| None |