Below API insert the acceptance record into PO_ACCEPTANCES table, before that check box must be checked for acceptance before submitting the PO for approval.
result number := null;
fnd_global.apps_initialize (user_id, Responsibility_id_id, Application_id);
(9310000133, ---PO Num
null, ---Release Num
0, ---Revision Num
sysdate, ---Action Date
261, ---Buyer id
'Y', ---Acceptance flag ‘Y’ or ‘N’
'ABCD', ---Acceptance lookup code
'All valid', ---Note
'1.0'); ---Version Number
Purchase order number.
Required if the purchase order is a release. The pass-in value must be a number.
Which revision of the purchase order/release is being acted upon.
Indicates the action to take. The value must be NEW.
Indicates the date of follow-up action. Provide a value in the format of 'MM/DD/YY' or 'MM-DD-YY', its default value is TRUNC (SYSDATE).
The fnd_global.user_id of the buyer.
Indicate if purchase is accepted. Must be 'Y' or 'N'.
Type of acceptance, its value must be corresponding to the LOOKUP_CODE in PO_LOOKUP_CODES table with LOOKUP_TYPE of ACCEPTANCE TYPE. The possible values are- Accepted Terms, Accepted All Terms, On Schedule, UnacceptableChanges, and REJECTED
Any description you want to insert.
Version of the current API (currently 1.0)