Mike Casey
05/27/2025, 6:42 PMCeligo AI
05/27/2025, 6:42 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems like the error "Error while accessing a resource. You must enter at least one line item for this transaction." is due to the incorrect usage of the
orderLine
key in the JSON payload.
In the first conversation, it was mentioned that you can't use line id
as the key while creating the item receipt because the item receipt hasn't been created yet, so no line has an id.
In the second conversation, it was mentioned that the user was adding quantity
by mistake which was causing the issue.
In the third conversation, it was suggested that orderLines
might start with 0, but the user confirmed that they checked the sales order details first and in its response it has line id from 1 so they used that.
So, you might want to check the orderLine
values in your JSON payload and make sure they are correct. Also, ensure that you are not adding quantity
by mistake.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
05/27/2025, 6:42 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.8980878
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.896883965
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.891157389
Celigo AI
05/27/2025, 6:42 PM