on eft bill processing page, I need to highlight t...
# ask-stanley-ai
n
on eft bill processing page, I need to highlight transactions when currency is different from PFA currency
c
AI generated answer (using internal Slack threads):
To highlight transactions on the EFT bill processing page when the currency is different from the PFA currency, you would need to create a custom SuiteScript. This script would need to be triggered when the EFT bill processing page is loaded. The script would need to do the following: 1. Retrieve the PFA currency from the relevant record or setting. 2. Loop through each transaction on the EFT bill processing page. 3. For each transaction, retrieve the currency. 4. If the transaction currency is different from the PFA currency, apply a highlight to the transaction. This could be done by changing the CSS of the transaction row, for example. Here is a pseudo-code example of how this might look:
Copy code
pseudo
var pfaCurrency = getPFACurrency();

for each transaction on EFT bill processing page {
    var transactionCurrency = getTransactionCurrency(transaction);
    
    if (transactionCurrency != pfaCurrency) {
        highlightTransaction(transaction);
    }
}
Please note that this is a high-level overview and the actual implementation would depend on the specifics of your NetSuite environment and requirements. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.833358049
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.822765172
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819430172
Please provide your feedback on this answer.