Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates new AgreementLineQuantityCommitment and AgreementLine entities for an old BO line.
Syntax
protected void createNewAgreementLineQuantityCommitment(
PurchAgreementHeader _agreementHeader,
PurchLine _oldBlanketOrderLine,
AgreementLineQuantityCommitment _newAgreementLine,
date _effectiveDate,
date _expirationDate,
Map _tableId2FKDataAreaId)
Run On
Server
Parameters
- _agreementHeader
Type: PurchAgreementHeader Table
A valid instance of the PurchAgreementHeader entity to provide for the new instance
- _oldBlanketOrderLine
Type: PurchLine Table
A SalesLine buffer that contains fields from the old BO line to update.
- _newAgreementLine
Type: AgreementLineQuantityCommitment Table
A buffer to contain fields from newly created instance of the AgreementLineQuantityCommitment class.
- _effectiveDate
Type: date
The date to use as effective date for the newly created agreement line.
- _expirationDate
Type: date
The date to use as expiration date for the newly created agreement line.
- _tableId2FKDataAreaId
Type: Map Class
A map that contains the DataAreaId values to use in foreign keys.
Remarks
This method is used in upgrade job.