How to default context value "Online VAT Reporting for Spain" in the JG_RA_CUSTOMER_TRX GDF during A
For SII tax reporting for Spain, when Autoinvoice runs, we need the GDF for Regional Localizations|JG_RA_CUSTOMER_TRX to default the context value of "Online VAT Reporting for Spain" in the "Additional Information for Spain" context (code JE.ES.ARXTWMAI.ADDI_INFO_SII). The invoice type currently defaults when this context value is active on the invoice and we don't need to populate the special regime because it defaults from the customer setup, however, the XML report is not picking up the Invoice Type because no context value is defaulting for this GDF at time of invoice creation through Autoinvoice. I am hesitant to set a default context on the GDF itself because I don't know it will affect other contexts that