I Installed a custom app called ksa_compliance and there is a Doctype called ‘Sales Invoice Additional Fields’ and this is populated when the sale invoice is submitted and then it goes to ZATCA (for clearance purposes) and Sales Invoice Additional Fields get populated.
Now in the Sales Invoice Additional Fields there is a field named as integration_status which has the following values
Ready For Batch
Resend
Corrected
Accepted with warnings
Accepted
Rejected
Clearance switched off
and another field called sales_invoice in which there is sales invoice number.
So I want to show this integration_status in Sales invoice list view and tried a lot of this but non of them are working.
I have tried client script but exactly don’t know how to add this to the list view.
Yes but the problem is, that this field is only created when it is send to zatca and get a status value. if I create a custom field then I don’t know when to populate this field.