-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-complex-disable-delete-btn-error-tx-mdx-0c1598c89037560950b2.js.map
1 lines (1 loc) · 25.2 KB
/
component---src-pages-complex-disable-delete-btn-error-tx-mdx-0c1598c89037560950b2.js.map
1
{"version":3,"file":"component---src-pages-complex-disable-delete-btn-error-tx-mdx-0c1598c89037560950b2.js","mappings":"gOAEA,ECGmB,SAAC,GAAD,MAAGA,EAAH,EAAGA,MAAOC,EAAV,EAAUA,MAAV,IAAiBC,KAAAA,OAAjB,MAAwB,GAAxB,SACjB,uBACEC,UAAWC,ICHS,yCDGP,OCDK,uCDEGF,EAAKG,OADb,ECJK,uCDMa,SAAVJ,EAFR,KAIb,uBAAKE,UAAU,YACb,uBAAKA,UAAU,WACb,uBAAKA,UAAU,iBACb,sBAAIG,GAAG,aAAaH,UCTZ,kCDULH,MAVM,EEHnB,ECIiB,SAAC,GAAsD,IAApDO,EAAmD,EAAnDA,iBAA8BC,EAAqB,EAAjCC,WAGhBA,GAEhBC,EAAAA,EAAAA,gBAAe,cAHjBC,KACEC,aAAgBH,WAgBpB,EAA0CD,GAAkBC,EAApDI,EAAR,EAAQA,QAASC,EAAjB,EAAiBA,aAEXC,EAAUF,EAAN,SAFV,EAA+BG,OAEUF,EAA/B,aAAwDP,EAElE,OAAOM,EACL,uBAAKV,UAAS,uCACZ,uBAAKA,UAAU,WACb,qBAAGA,UC7BO,+BD6BUY,KAAMA,GAA1B,8BAKF,IACL,E,oBExBoBE,EAAAA,SAAAA,GAAAA,SAAAA,IAAAA,OAAAA,EAAAA,MAAAA,KAAAA,YAAAA,IAAAA,CAkClB,OAlCkBA,EAAAA,EAAAA,GAAAA,EAAAA,GAAAA,EAAAA,UACnBC,OAAA,WACE,MAA8BC,KAAKC,MAA3BpB,EAAR,EAAQA,MAAOE,EAAf,EAAeA,KAAMmB,EAArB,EAAqBA,KACfC,EAAaD,EAAKE,MAAM,KAAKC,OAAOC,SAASC,OAAO,GAAG,GAEvDC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AW,MAClB,UAAa,eADZ,uYAYL,2BACE,aAAGA,WAAW,cAAd,scAKL,CAEDH,EAAWI,gBAAiB,C","sources":["webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/PageHeader.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/PageHeader.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/EditLink.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/EditLink.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/PageTabs.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/PageTabs.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/LastModifiedDate.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/last-modified-date.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/templates/Default.js","webpack://mas-playbook/./src/pages/complex/disable-delete-btn-error-tx.mdx"],"sourcesContent":["import PageHeader from './PageHeader';\n\nexport default PageHeader;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport cx from 'classnames';\nimport * as styles from './PageHeader.module.scss';\n\nconst PageHeader = ({ title, theme, tabs = [] }) => (\n <div\n className={cx(styles.pageHeader, {\n [styles.withTabs]: tabs.length,\n [styles.darkMode]: theme === 'dark',\n })}>\n <div className=\"bx--grid\">\n <div className=\"bx--row\">\n <div className=\"bx--col-lg-12\">\n <h1 id=\"page-title\" className={styles.text}>\n {title}\n </h1>\n </div>\n </div>\n </div>\n </div>\n);\n\nPageHeader.propTypes = {\n /**\n * Specify the title for the page\n */\n title: PropTypes.node,\n};\n\nexport default PageHeader;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"PageHeader-module--bx--text-truncate--end--b8JtW\";\nexport var bxTextTruncateFront = \"PageHeader-module--bx--text-truncate--front--WwZFh\";\nexport var darkMode = \"PageHeader-module--dark-mode--WCeH8\";\nexport var pageHeader = \"PageHeader-module--page-header--NqfPe\";\nexport var text = \"PageHeader-module--text--Er2EO\";\nexport var withTabs = \"PageHeader-module--with-tabs--vbQ-W\";","import EditLink from './EditLink';\n\nexport default EditLink;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { graphql, useStaticQuery } from 'gatsby';\n\nimport { link, row } from './EditLink.module.scss';\n\nconst EditLink = ({ relativePagePath, repository: repositoryProp }) => {\n const {\n site: {\n siteMetadata: { repository },\n },\n } = useStaticQuery(graphql`\n query REPOSITORY_QUERY {\n site {\n siteMetadata {\n repository {\n baseUrl\n subDirectory\n branch\n }\n }\n }\n }\n `);\n\n const { baseUrl, subDirectory, branch } = repositoryProp || repository;\n\n const href = `${baseUrl}/edit/${branch}${subDirectory}/src/pages${relativePagePath}`;\n\n return baseUrl ? (\n <div className={`bx--row ${row}`}>\n <div className=\"bx--col\">\n <a className={link} href={href}>\n Edit this page on GitHub\n </a>\n </div>\n </div>\n ) : null;\n};\n\nEditLink.propTypes = {\n repository: PropTypes.shape({\n baseUrl: PropTypes.string,\n subDirectory: PropTypes.string,\n branch: PropTypes.string,\n }),\n relativePagePath: PropTypes.string,\n};\n\nexport default EditLink;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"EditLink-module--bx--text-truncate--end--uI0cF\";\nexport var bxTextTruncateFront = \"EditLink-module--bx--text-truncate--front--HxjcS\";\nexport var link = \"EditLink-module--link--IDrl1\";\nexport var row = \"EditLink-module--row--BEmSX\";","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'gatsby';\nimport slugify from 'slugify';\nimport cx from 'classnames';\n\nimport {\n tabsContainer,\n list,\n selectedItem,\n listItem,\n link,\n} from './PageTabs.module.scss';\n\nexport default class PageTabs extends React.Component {\n render() {\n const { title, tabs, slug } = this.props;\n const currentTab = slug.split('/').filter(Boolean).slice(-1)[0];\n\n const pageTabs = tabs.map((tab) => {\n const slugifiedTab = slugify(tab, { lower: true, strict: true });\n const selected = slugifiedTab === currentTab;\n // matches with or without trailing slash: /?\n // matches with or without hash link: (#.*)?\n const currentTabRegex = new RegExp(`${currentTab}/?(#.*)?$`);\n const href = slug.replace(currentTabRegex, slugifiedTab);\n return (\n <li key={tab} className={cx({ [selectedItem]: selected }, listItem)}>\n <Link className={link} to={`${href}`}>\n {tab}\n </Link>\n </li>\n );\n });\n\n return (\n <div className={tabsContainer}>\n <div className=\"bx--grid\">\n <div className=\"bx--row\">\n <div className=\"bx--col-lg-12 bx--col-no-gutter\">\n <nav aria-label={title}>\n <ul className={list}>{pageTabs}</ul>\n </nav>\n </div>\n </div>\n </div>\n </div>\n );\n }\n}\n\nPageTabs.propTypes = {\n tabs: PropTypes.array,\n slug: PropTypes.string,\n};\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"PageTabs-module--bx--text-truncate--end--OC59x\";\nexport var bxTextTruncateFront = \"PageTabs-module--bx--text-truncate--front--5I6-L\";\nexport var link = \"PageTabs-module--link--Kz-7R\";\nexport var list = \"PageTabs-module--list--xLqxG\";\nexport var listItem = \"PageTabs-module--list-item--024o6\";\nexport var selectedItem = \"PageTabs-module--selected-item--aBB0K\";\nexport var tabsContainer = \"PageTabs-module--tabs-container--Cdfzw\";","import PageTabs from './PageTabs';\n\nexport default PageTabs;\n","import LastModifiedDate from './LastModifiedDate';\n\nexport default LastModifiedDate;\n","import React from 'react';\nimport { Row, Column } from '../Grid';\nimport * as styles from './last-modified-date.module.scss';\n\nconst LastModifiedDate = ({ date }) => {\n const options = {\n day: '2-digit',\n year: 'numeric',\n month: 'long',\n };\n\n const lastModified = new Date(date);\n\n return date ? (\n <Row className={styles.row}>\n <Column>\n <div className={styles.text}>\n Page last updated: {lastModified.toLocaleDateString('en-GB', options)}\n {/* // https://www-03preprod.ibm.com/support/knowledgecenter/ibm_style/dates-and-times.html */}\n </div>\n </Column>\n </Row>\n ) : null;\n};\nexport default LastModifiedDate;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"last-modified-date-module--bx--text-truncate--end--QgCc7\";\nexport var bxTextTruncateFront = \"last-modified-date-module--bx--text-truncate--front--kel8a\";\nexport var row = \"last-modified-date-module--row--XJoYQ\";\nexport var text = \"last-modified-date-module--text--ogPQF\";","import React from 'react';\nimport slugify from 'slugify';\nimport { useStaticQuery, graphql } from 'gatsby';\n\nimport Utils from '../components/Utils';\nimport Layout from '../components/Layout';\nimport PageHeader from '../components/PageHeader';\nimport EditLink from '../components/EditLink';\nimport NextPrevious from '../components/NextPrevious';\nimport PageTabs from '../components/PageTabs';\nimport Main from '../components/Main';\nimport useMetadata from '../util/hooks/useMetadata';\nimport LastModifiedDate from '../components/LastModifiedDate';\n\nconst Default = ({ pageContext, children, location, Title }) => {\n const { frontmatter = {}, relativePagePath, titleType } = pageContext;\n const {\n tabs,\n title,\n theme: frontmatterTheme,\n description,\n keywords,\n date,\n } = frontmatter;\n\n const { interiorTheme } = useMetadata();\n\n // get the path prefix if it exists\n const {\n site: { pathPrefix },\n } = useStaticQuery(graphql`\n query PATH_PREFIX_QUERY {\n site {\n pathPrefix\n }\n }\n `);\n\n // let gatsby handle prefixing\n const slug = pathPrefix\n ? location.pathname.replace(pathPrefix, '')\n : location.pathname;\n\n const getCurrentTab = () => {\n if (!tabs) return '';\n return (\n slug.split('/').filter(Boolean).slice(-1)[0] ||\n slugify(tabs[0], { lower: true })\n );\n };\n\n const currentTab = getCurrentTab();\n\n const theme = frontmatterTheme || interiorTheme;\n\n return (\n <Layout\n tabs={tabs}\n homepage={false}\n theme={theme}\n pageTitle={title}\n pageDescription={description}\n pageKeywords={keywords}\n titleType={titleType}>\n <PageHeader\n title={Title ? <Title /> : title}\n label=\"label\"\n tabs={tabs}\n theme={theme}\n />\n {tabs && (\n <PageTabs\n title={title}\n slug={slug}\n tabs={tabs}\n currentTab={currentTab}\n />\n )}\n <Main padded>\n {children}\n <EditLink relativePagePath={relativePagePath} />\n <LastModifiedDate date={date} />\n </Main>\n <NextPrevious\n pageContext={pageContext}\n location={location}\n slug={slug}\n tabs={tabs}\n currentTab={currentTab}\n />\n <Utils />\n </Layout>\n );\n};\n\nexport default Default;\n","import * as React from 'react'\n /* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\n\nimport DefaultLayout from \"/home/travis/build/maximo-app-framework/configuration-practices-documentation/node_modules/gatsby-theme-carbon/src/templates/Default.js\";\nexport const _frontmatter = {};\nconst layoutProps = {\n _frontmatter\n};\nconst MDXLayout = DefaultLayout;\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n\n\n <h2>{`About this task`}</h2>\n <p>{`This guide details a step-by-step approach to controlling the ability of the delete button action for errored transactions in IBM Maximo Mobile by configuring specific files and setting up a signature option (sigoption).\nThis configuration takes place at `}<strong parentName=\"p\">{`Navigator`}</strong>{` app`}</p>\n <h2>{`Procedure`}</h2>\n <h3>{`Step 1: Define the Signature Option (Sigoption) to control the delete button, start by creating a new sigoption named WO_DELETEERROR_TRX for the mxapiwodetail object structure.`}</h3>\n <p>{`Follow these steps in the Object Structures application under Configure Object Structure Security:`}</p>\n <ul>\n <li parentName=\"ul\">{`Open the Object Structures application from the IBM Maximo main menu.`}</li>\n <li parentName=\"ul\">{`Search for and select the mxapiwodetail object structure.`}</li>\n <li parentName=\"ul\">{`In the toolbar, click on the Action menu and select Configure Object Structure Security.`}</li>\n <li parentName=\"ul\">{`In the Configure Object Structure Security dialog, click New Row to add a new signature option.`}</li>\n <li parentName=\"ul\">{`In the Option Name field, enter WO_DELETEERROR_TRX.`}</li>\n <li parentName=\"ul\">{`Provide a description, such as “Control of delete button for errored transactions.”`}</li>\n </ul>\n <span {...{\n \"className\": \"gatsby-resp-image-wrapper\",\n \"style\": {\n \"position\": \"relative\",\n \"display\": \"block\",\n \"marginLeft\": \"auto\",\n \"marginRight\": \"auto\",\n \"maxWidth\": \"1152px\"\n }\n }}>{`\n `}<span parentName=\"span\" {...{\n \"className\": \"gatsby-resp-image-background-image\",\n \"style\": {\n \"paddingBottom\": \"60.76388888888889%\",\n \"position\": \"relative\",\n \"bottom\": \"0\",\n \"left\": \"0\",\n \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAACXBIWXMAAAsTAAALEwEAmpwYAAAB1ElEQVQoz21SW47bMAz0/W/Sa/R7/woU6G63WTsvO7ZsydaTsjwFmaTJoitgQIoeDIcyK2MMxnHENE1Q44gQArz3V3D+dM85Y10LSimIMQo3hFuMEdZ5VM45aK1F8HQ6gRswaVAKXdfhwrhcJGeOMTMW65ASIcWIlJKIxxBgfUDVDwOOxyPatsWl79CrAWZesCyLxHHSIqaUwjzPmGcjotZa4WjOfQSfUlZUbJc7M4FHZ4fsmnEfm+sMvt/r4VZnUSISQX6SKucVfd+L0N0JvxOTiLKQhmGQ0biWpE6gnGFsgI8E1ngSzNg3DZq6xvFwwH7foGvP6NoWIXisOcM7J/EZlAjT7OW9E+WH4Jwyfn00eK33eGsO+Pm+Q32+YFg8llwwpxUmZehAD0RGxtlEKJ/h6OqQXVcxF/STRj9qvNcNfu8+8KdupKb4j4YETxkuEVzKsCkh5FVEumnBYCzmQA9BShHTqKCGHjE4RNk5h4X/KK+Q99i2AmybQHJs2EpBpgQ9aZglPEaOlDFqg34YYWyECwnrygu8CpjEi7yJ2Gc8zjVnfqUtYVwIkyV8+17j5U3ddmr7UuQrFI7icEUlhXLFv3637p9d/H/u319eFX7stEz3F6uroPYa+brwAAAAAElFTkSuQmCC')\",\n \"backgroundSize\": \"cover\",\n \"display\": \"block\"\n }\n }}></span>{`\n `}<img parentName=\"span\" {...{\n \"className\": \"gatsby-resp-image-image\",\n \"alt\": \"configure object structure security dialog\",\n \"title\": \"configure object structure security dialog\",\n \"src\": \"/configuration-practices-documentation/static/e8b7288c0a8ab521aefc1d388d411462/3cbba/configure-object-structure-security-dialog.png\",\n \"srcSet\": [\"/configuration-practices-documentation/static/e8b7288c0a8ab521aefc1d388d411462/7fc1e/configure-object-structure-security-dialog.png 288w\", \"/configuration-practices-documentation/static/e8b7288c0a8ab521aefc1d388d411462/a5df1/configure-object-structure-security-dialog.png 576w\", \"/configuration-practices-documentation/static/e8b7288c0a8ab521aefc1d388d411462/3cbba/configure-object-structure-security-dialog.png 1152w\", \"/configuration-practices-documentation/static/e8b7288c0a8ab521aefc1d388d411462/e08c9/configure-object-structure-security-dialog.png 1427w\"],\n \"sizes\": \"(max-width: 1152px) 100vw, 1152px\",\n \"style\": {\n \"width\": \"100%\",\n \"height\": \"100%\",\n \"margin\": \"0\",\n \"verticalAlign\": \"middle\",\n \"position\": \"absolute\",\n \"top\": \"0\",\n \"left\": \"0\"\n },\n \"loading\": \"lazy\",\n \"decoding\": \"async\"\n }}></img>{`\n `}</span>\n <h3>{`Step 2: After creating this sigoption, assign the correct permissions in the Security Groups application:`}</h3>\n <ul>\n <li parentName=\"ul\">{`Open the Security Groups application.`}</li>\n <li parentName=\"ul\">{`Locate the relevant security group(s) to which this permission should be granted.`}</li>\n <li parentName=\"ul\">{`Under the Object Structures tab, select the mxapiwodetail object structure.`}</li>\n <li parentName=\"ul\">{`Find the WO_DELETEERROR_TRX sigoption and grant the appropriate access level to control of the delete button for errored transactions.`}</li>\n </ul>\n <span {...{\n \"className\": \"gatsby-resp-image-wrapper\",\n \"style\": {\n \"position\": \"relative\",\n \"display\": \"block\",\n \"marginLeft\": \"auto\",\n \"marginRight\": \"auto\",\n \"maxWidth\": \"1152px\"\n }\n }}>{`\n `}<span parentName=\"span\" {...{\n \"className\": \"gatsby-resp-image-background-image\",\n \"style\": {\n \"paddingBottom\": \"59.02777777777778%\",\n \"position\": \"relative\",\n \"bottom\": \"0\",\n \"left\": \"0\",\n \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAMCAYAAABiDJ37AAAACXBIWXMAAAsTAAALEwEAmpwYAAAB90lEQVQoz22SW2/TQBBG/ecRr6hQJARqVYpagXjkb/AEqEKhl6SJ69jry669dycHedtGKXSsoxmNrJlvZyZ7d/qFj1+/8fbkMy8Ojnl5eMLro7PEm6MzDj584tX7U94cn3N4fJ78jof/9snWZcUYPN571mVJiJF92263WGfv44fvMX7OslI0WGspKsHP2SV/blcsypr5WrAULZd5wcX1IvF7sUpcrQpmyztWpaDve1RC430gE3WD945O9qyKesfyruY2r2jqhkHJhDUmEb0jOIezlqFX6GFAa0OMI5lSMkk1LlAPnpu8Ylk2VNLQaM8QRmwcMRNhRPuI6CSdNkht6AaDjRtMiGy2W7JKCJyzKG1pjePi8orvP34xmy+QLqTcRGMcnfVUveWu0ylutEvUg00+jhuy9bpEa419eEJRFNxcXyOEIISAdy6NJARPDAFrHbLXjDEwxpiY8pOfFpjleZ7eP6mctlyLGj3oNJeubahFRa8ktRCJtqlp2w5j3e4K9smUUqm6DZFlKZjdzCnqlnUrabVFWk+rHUWrEGpITHkfx13BJ2czrX2yVvXMi5K8qpnnBbmYFtNTqeHey/tiVadSM+vD8wqHYSDGmA5bdR1NK9MI2HXeV7B9cvCP6vZVZs45jDE475mKd1Kl9Y+bzX/dn+Pfgn8BZOuKyO0Moa8AAAAASUVORK5CYII=')\",\n \"backgroundSize\": \"cover\",\n \"display\": \"block\"\n }\n }}></span>{`\n `}<img parentName=\"span\" {...{\n \"className\": \"gatsby-resp-image-image\",\n \"alt\": \"security group sigoption for mxapiwodetail\",\n \"title\": \"security group sigoption for mxapiwodetail\",\n \"src\": \"/configuration-practices-documentation/static/b0e5224aacdc6245b521a402234818cf/3cbba/security-group-sigoption.png\",\n \"srcSet\": [\"/configuration-practices-documentation/static/b0e5224aacdc6245b521a402234818cf/7fc1e/security-group-sigoption.png 288w\", \"/configuration-practices-documentation/static/b0e5224aacdc6245b521a402234818cf/a5df1/security-group-sigoption.png 576w\", \"/configuration-practices-documentation/static/b0e5224aacdc6245b521a402234818cf/3cbba/security-group-sigoption.png 1152w\", \"/configuration-practices-documentation/static/b0e5224aacdc6245b521a402234818cf/5dce9/security-group-sigoption.png 1500w\"],\n \"sizes\": \"(max-width: 1152px) 100vw, 1152px\",\n \"style\": {\n \"width\": \"100%\",\n \"height\": \"100%\",\n \"margin\": \"0\",\n \"verticalAlign\": \"middle\",\n \"position\": \"absolute\",\n \"top\": \"0\",\n \"left\": \"0\"\n },\n \"loading\": \"lazy\",\n \"decoding\": \"async\"\n }}></img>{`\n `}</span>\n <h3>{`Step 3: Modify the App.xml File from the Navigator application. Locate the delete button (id=“a38re”) in the App.xml file. Add a disabled attribute to the button, linked to a custom property that will control its state based on the sigoption.`}</h3>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-xml\"\n }}>{` <button id=\"a38re\" disabled=\"{item.disabled}\">Delete</button>\n`}</code></pre>\n <h3>{`Step 4: Configure the AppCustomizations.js. Use the applicationInitialized(app) event to capture the value of sigoption WO_DELETEERROR_TRX for the current application instance and store it in a class variable for later use. This will determine if the delete option is permitted.`}</h3>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{` applicationInitialized(app) {\n // Store the delete permission for error transactions\n this.canDeleteError = this.app.checkSigOption(\\`\\${this.app.state.woOSName}.WO_DELETEERROR_TRX\\`);\n }\n`}</code></pre>\n <h3>{`Step 5: Use the onAfterLoadData event to iterate over each item in the syncTranscationDS datasource. This allows you to set the disabled attribute based on the sigoption value and transaction properties.`}</h3>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-js\"\n }}>{` onAfterLoadData(datasource, items, query) {\n // Check if the data source is 'syncTranscationDS'\n if (datasource.name === 'syncTranscationDS') {\n items.forEach(item => {\n // Disable delete if the transaction is from WORKORDER and deletion is not allowed\n item.disabled = item.collectionid === 'WORKORDER' && !this.canDeleteError;\n });\n }\n }\n`}</code></pre>\n <blockquote>\n <p parentName=\"blockquote\">{`The code above will disable the delete button for errored transactions from the WORKORDER collection if deletion is not allowed based on the sigoption.\nThe visibility of the delete button can be adjusted at any time by an administrator through the Security Groups application. By changing the WO_DELETEERROR_TRX sigoption setting for the relevant security group, administrators can dynamically control whether users can delete errored transactions.`}</p>\n </blockquote>\n\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;\n "],"names":["title","theme","tabs","className","cx","length","id","relativePagePath","repositoryProp","repository","useStaticQuery","site","siteMetadata","baseUrl","subDirectory","href","branch","PageTabs","render","this","props","slug","currentTab","split","filter","Boolean","slice","pageTabs","map","tab","slugifiedTab","slugify","lower","strict","selected","currentTabRegex","RegExp","replace","key","Link","to","React","date","lastModified","Date","toLocaleDateString","day","year","month","pageContext","children","location","Title","frontmatter","titleType","frontmatterTheme","description","keywords","interiorTheme","useMetadata","pathPrefix","pathname","Layout","homepage","pageTitle","pageDescription","pageKeywords","label","Main","padded","NextPrevious","Utils","_frontmatter","layoutProps","MDXLayout","DefaultLayout","MDXContent","components","mdxType","parentName","isMDXComponent"],"sourceRoot":""}