Source Line Transfer from a Source Asset to a Destination Asset
You want to transfer a cost of $2542.92 from a source line of
identifier 17225
, assigned to a source asset of identifier
103923
, to a destination asset of identifier
108292
.
Example URL
Here's an example of the resource URL:
POST
fscmRestApi/resources/11.13.18.05/erpintegrations
cURL Command
curl -i -u "<username>:<password>" -H "Content-Type: application/vnd.oracle.adf.resourceitem+json" -X POST -d <payload> https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations
Example Request
Here's an example of the request body in JSON format, using asset identifier:
{
"OperationName": "processTransaction-transferSourceLines",
"ParameterList": "{P_SRC_ASSET_ID: 103923,P_BOOK_TYPE_CODE: OPS CORP,P_DEST_ASSET_ID: 108292,P_SOURCE_LINE_ID_TBL: '17225',P_ASSET_INVOICE_ID_TBL: '27881',P_FIXED_ASSETS_COST_TBL: '2542.92', P_PAYABLES_COST_TBL: '2542.92', P_PAYABLES_CCID_TBL: '13532',P_DELETED_FLAG_TBL: 'NO',P_SL_ATTRIBUTE1_TBL: 'd',P_SL_ATTRIBUTE2_TBL: 'd'}"
}
Example Response
Here's an example of the response body in JSON format:
{
"OperationName": "processTransaction-transferSourceLines",
"DocumentId": null,
"DocumentContent": null,
"FileName": null,
"ContentType": null,
"FileType": null,
"DocumentAccount": null,
"Comments": null,
"ProcessName": null,
"LoadRequestId": null,
"JobPackageName": null,
"JobDefName": null,
"ReqstId": null,
"RequestStatus": null,
"JobName": null,
"ParameterList": "{\"X_SRC_TRANSACTION_HEADER_ID\":\"209907\",\"X_DEST_TRANSACTION_HEADER_ID\":\"209908\",\"X_RETURN_STATUS\":\"S\",\"X_EVENT_ID\":\"2169397\"}",
"NotificationCode": null,
"CallbackURL": null,
"JobOptions": null,
"StatusCode": null,
"ESSParameters": null,
"links": [
{
"rel": "self",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-transferSourceLines",
"name": "erpintegrations",
"kind": "item"
},
{
"rel": "canonical",
"href": "https://servername.fa.us2.oraclecloud.com/fscmRestApi/resources/11.13.18.05/erpintegrations/processTransaction-transferSourceLines",
"name": "erpintegrations",
"kind": "item"
}
]
}