Hi,
May i know any limitation of the receipt line while performance Batch Create?
As i face an issue while i using Batch create for total 1067 record, the last 186++ record it will not be able to retrieve the invoice but become “Suspense”.
I can confirm those invoice is created in system and if i manually add, it is success to be added.
Batch Create result:-
Hi @eko ,
All the line have the account UID while i create the batch. Hence you may see at the top those able to link with the account receivable, however at the bottom around 186++ order it is not able to link with the correct invoice, even the invoice UID is correct.
below with the batch create i use.
Good lateral thinking. It would be useful to know the Manager version and installation (Server, Cloud, Desktop Windows / macOS / Linux) and memory settings (RAM) of the computer it is installed on. I am not sure if for example the batch create function creates a multi dimensional array first (in memory) and then carries out a single database call with batch_insert. This is for @lubos to further explore.
Update: I failed to replicate this behavior using Cloud Edition, MS Edge on Windows 10.
I was able to successfully create a single receipt and a single sales invoice with 885 lines each containing account UUID and nothing else.
I was also able to update the invoice, however when I tried to update the receipt I found out that it wasn’t assigned a UUID (which may be related or could be something completely different).
It seems that there isn’t any official limits but many other factors could force practical limits. My guess is that it’s something similar or related to this past bug:
@DnD_IT_Solution could you re-examine this using less text and see if it’s some sort of text length limit. If it’s not then maybe you can share the following information – at minimum:
Your edition and version
Your OS and browser details
Sample batch create/update data which caused the error.
I have try to re-examine it with less records, which I split my template to multiple receipt, and it is running perfectly. It seem like this issue is happen when i running it with record more than 1k line.