I am currently working on an existing integration for syncing price-book entries from an external system to Salesforce. The system is using Apex Bulk API.I already know that in Salesforce it is mandatory for a product to have a standard price-book entry before adding a custom price-book entry.
The existing approach was creating a CSV file and that will first have all the standard price-book entries and in the same CSV file will have custom price-book entries just after the standard ones. The catalog size is less than 10k for now.
What am wondering is that does Salesforce guarantees the order in which CSV file entries are processed i.e. are they processed in the order specified in the file or it can be random as well. I already know if you have multiple chunks Salesforce processes them in parallel by default but I couldn't find anything in the documentation around the entries in the same file.