{"section":"known-issues","requestedLocale":"en","requestedSlug":"skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type","locale":"en","slug":"skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type","path":"docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type.md","branch":"main","content":"## Summary\n\n\nWhen associating a service for an SKU in our catalog, for a store that has multiple service types and service values (Value type field), at first, when a user enters the UI, the list of options for a given \"Service Type\" is currently only listing the associated options in the Value table of the first selected service type.\n\nFor instance, in the image below there are 3 service types: \"Garantia\", \"seguros\" and \"Plan Tigo\":\n\n ![](https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type_1.png)\n\nAfter selecting the option in this field, no matter which one, the field \"Value Table\" only displays the service values associated with the first shown option in the \"Service type\" listing:\n\n ![](https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type_2.png)\n ![](https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type_3.png)\n ![](https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type_4.png)\n ![](https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type_5.png)\n\nThe user must first select the service type and save the configuration even with an incorrect value table and then when revisiting it, the first value will again be listed, but this time, since the first value will be the previously selected one, it will list the desired options:\n\n ![](https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type_6.png)\n\nThis is the selection that's currently not working:\n ![](https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type_7.png)\n\nHere: https://github.com/vtex/vcs.commerce/blob/blaster/src/Comercio/Comercio/AdminWebSite/Site/SkuServicoForm.aspx#L88\nback: https://github.com/vtex/vcs.commerce/blob/blaster/src/Comercio/Comercio/AdminWebSite/Site/SkuServicoForm.aspx.cs#L186\nproblem is most likely here: https://github.com/vtex/vcs.commerce/blob/657c58015196fd3422b1972ed0b82b144049e238/src/Comercio/Comercio/AdminWebSite/Site/SkuServicoForm.aspx.cs#L387\n\n## Simulation\n\n\n1) In the SkuServicoTipo.aspx UI create 2+ service types\n2) Create, in the SkuServicoValor.aspx UI 2+ service values and associate each to a different service type.\n3) Go to the SkuServicoForm.aspx?IdSku= UI for any SKU of the store.\n4) Select a service type in this listing other than the 1st one in the list:\n ![](https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type_8.png)\n5) Check the value tables, the associated values won't be the correct ones, but the listing for the first value, which in our example above is \"Serviço 1\".\n\n\n## Workaround\n\n\nSaving the incorrect value table for a service type in the UI, revisiting it afterward, and then changing it to the desired listed value table.\n\nFor instance, in the example in the Summary section of this KI, we've selected 'Seguros' in the service type and initially, the listed value tables were the ones for 'Garantia'.\n\nIf I save it as 'seguros', even with an incorrect value in the Value Table:\n ![](https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type_9.png)\n\nAfter saving and then revisiting this UI, the correct value tables for 'seguros' should now be listed and selectable:\n\n ![](https://raw.githubusercontent.com/vtexdocs/known-issues/refs/heads/main/docs/en/known-issues/Catalog/skuservicoformaspx-not-listing-value-tables-at-first-for-a-value-type_10.png)"}