to get a personalized navigation.
to get a personalized navigation.
Hi,
We are posting following to CustomerInvoice
},
"startDate": {
"value": "2021-09-14T00:00:00"
},
"endDate": {
"value": "2022-03-13T00:00:00"
},
"deferralCode": {
"value": "Zuora"
}
Getting error:
{
"message": "Error: Inserting 'Customer transactions' record raised at least one error. Please review the errors.\r\nUnit price has been set to zero because no effective unit price was found.\r\nError: 'Term start date' cannot be empty.\r\nError: 'Term end date' cannot be empty.\r\n"
}
Testing with another defferialCode without startDate and endDate gives no error.
Posting exact same data in UI gives no error and working as expected.
Testing with v1 gives same error. ref https://community.visma.com/t5/Forum-in-Developers-Visma-net/Using-start-end-date-in-the-API-when-cr...
Is there a way to solve this?
Brgds Steinar
Solved! Go to Solution.
Hi Steinar,
The fields you want to use are "termStartDate" & "termEndDate" as opposed to "startDate" & "endDate".
Example:
Hi Magnus
Thanks, this solved the problem 🙂 We used the same field name as from GET, and did not realize that it was different from POST.
Steinar
Hi,
Could you please send us a screen shot of a deferral code that works for you as well as the one that does not work(ScreenId=DR202000)?
Thank you.
Copyright © 2022 Visma.com. All rights reserved.