You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Unable to pass Code Combination at distribution level to create purchaseRequisitions webservice

Received Response
11
Views
1
Comments
edited Jan 29, 2021 3:46PM in Self Service Procurement 1 comment

Summary

Unable to pass Code Combination at distribution level to create purchaseRequisitions webservice

Content

We are getting following error while trying to pass Charge Account to the Requisition API:
Attribute ChargeAccount in view object PurchaseRequisitionLineVO_distributions_PurchaseRequisitionLineVOToPurchaseRequisitionDistributionVO_PurchaseRequisitionDistributionVO cannot be set.

When we pass the payload without Charge Account, then the requisition is getting created successfully.

Our POST request details are below:
https://xxxxxxxxxxxxxxxx/fscmRestApi/resources/11.13.18.05/purchaseRequisitions/300000003135969/child/lines/300000003135970/child/distributions/

Body:
{
"Quantity": 12,
"DistributionNumber": 1,
"ChargeAccount": "AUM430.19070.100669.999.55704.C10.85.000000.00",
"CurrencyAmount": 1200
}

Version

21a

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!