Sales Invoice Billing Series

Hi ,
I have added a select field to my erpnext sales invoice , I want to change the billing series according to the selection changes how can i acheive that , Thanks
this is the conditions
if custom_sale_type == ‘INDIA’:
naming_series = ‘a’
elif custom_sale_type == ‘INTERNATIONAL’:
naming_series = ‘b’
elif custom_sale_type == ‘AMC’:
naming_series = ‘c’
elif custom_sale_type == ‘SPARES INDIA’:
naming_series = ‘d’
elif custom_sale_type == ‘SALES INTERNATIONAL’:
naming_series = ‘e’
elif custom_sale_type == ‘SERVICE INDIA’:
naming_series = ‘f’
elif custom_sale_type == ‘SERVICE INTERNATIONAL’:
naming_series = ‘g’
elif custom_sale_type == ‘CONSUMABLES INDIA’:
naming_series = ‘h’
elif custom_sale_type == ‘CONSUMABLES INTERNATIONAL’:
naming_series = ‘i’

Hi @amal_31845,

Please check the example.

Thank You!

1 Like

i couldnt change the standard field is that possible

this is what i need to change i need tom change the options is that possible

Hi @amal_31845,

If you want to change the series then check it.

Thank You!

1 Like

@NCP thnk you brother