Discussions
Portugal Localization
I currently have an Invoice automation process I developed in suitescript. When a sales order is fulfilled an Invoice is automatically generated.
I'm running into an error when trying to use this for Portugal customers because the document series fields do not get generated. I am currently setting the Document series ID to the correct one for the invoice in the before-load function. I have also tried with before submit and after submit.
I have also tried setting it in the default fields of the record.transform, but none seem to work.
It generates all the required fields when I create the invoice through the UI, but this is not an ideal solution as it adds a step to our process.