Solved

Inserting 'CA Transaction' record raised at least one error. Please review the errors.; FinPeriodID: 'Post Period' cannot be empty.

  • 13 January 2023
  • 1 reply
  • 186 views

Endpoint

Check PUT

 

Request Body

{"CuryOrigDocAmt":{"value":0},"CashAccount":{"value":"10600"},"Type":{"value":"Check"},"Vendor":{"value":"AASERVICES"},"CurrencyID":{"value":"USD"},"Hold":{"value":false},"PaymentAmount":{"value":500},"PaymentMethod":{"value":"AMEX"},"FinPeriodID":{"value":"12-2022"},"Details":[{"PostPeriod":{"value":"122022"},"FinPeriodID":{"value":"12-2022"},"BranchID":{"value":null},"InventoryID":{"value":null},"OrderQty":{"value":0},"WarehouseID":{"value":null},"AmountPaid":{"value":500},"Balance":{"value":500},"CashDiscountBalance":{"value":null},"DocType":{"value":"Bill"},"ReferenceNbr":{"value":"004212"}}],"PostPeriod":{"value":"122022"}}

 

 

Response Body

{"id":"00f6eadd-6293-ed11-bb54-000d3a19a590","rowNumber":1,"note":{"value":""},"error":"Inserting  'CA Transaction' record raised at least one error. Please review the errors.; FinPeriodID: 'Post Period' cannot be empty.","ApplicationDate":{"value":"2023-01-13T00:00:00+00:00"},"CashAccount":{"value":"10600"},"CurrencyID":{"value":"USD"},"Description":{},"Details":[{"id":"06f6eadd-6293-ed11-bb54-000d3a19a590","rowNumber":1,"note":{"value":""},"AmountPaid":{"value":500.0},"Balance":{"value":0.0000},"CashDiscountBalance":{"value":0.0000},"DocLineNbr":{"value":0},"DocType":{"value":"Bill"},"ReferenceNbr":{"value":"004212"},"custom":{}}],"Hold":{"value":false},"LastModifiedDateTime":{"value":"2023-01-13T16:53:57.8531645+00:00"},"PaymentAmount":{"value":500.0},"PaymentMethod":{"value":"AMEX"},"PaymentRef":{"value":"PAY0389829"},"ReferenceNbr":{"value":"<NEW>"},"Status":{"value":"Balanced"},"Type":{"value":"Check"},"UnappliedBalance":{"value":0.0},"Vendor":{"value":"AASERVICES"},"custom":{}}

 

Response Status

System.Net.HttpStatusCode.UnprocessableEntity

 

Error message

Inserting 'CA Transaction' record raised at least one error. Please review the errors.; FinPeriodID: 'Post Period' cannot be empty.

icon

Best answer by Manikanta Dhulipudi 13 January 2023, 18:25

View original

1 reply

Userlevel 7
Badge +12

Hi @DharmandarKumar 

Basically above error message refer to financial periods, Is financial periods are opened for the current period>?

 

Thanks

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved