health icon indicating copy to clipboard operation
health copied to clipboard

New Healthcare Service Unit Type ; error message 'HSN/SAC Code is required. Please enter a valid HSN/SAC code.'

Open kavistyles opened this issue 1 year ago • 3 comments

Trying to create New Healthcare Service Unit Type but on saving the document type it gives the error 'HSN/SAC Code is required. Please enter a valid HSN/SAC code.' whereas there is no such field in the form and even have already added it in services item master form. ss1

kavistyles avatar Oct 14 '22 11:10 kavistyles

India compliance app has setting to validate HSN/SAC codes.

When this setting is enabled, during item creation it is checking for valid HSN/SAC code and it is failing.

This will cause problems at other places as well like lab test template etc. Need to find an alternate way to fix this.

@akurungadam

ChillarAnand avatar Oct 17 '22 05:10 ChillarAnand

Hi @ChillarAnand one option is to add HSN/SAC field and enable it if app india_compliance is installed. But I feel this should best be triggered only if / when india_compliance app is installed. As you see, install hooks of apps may not be able deal with this completely considering that there's no mandated order of installing apps. Maybe a hook that can be triggered when a specific app is installed? I'm not aware of any standard mechanism that's already in place, any recommendations please share?

akurungadam avatar Oct 18 '22 14:10 akurungadam