on a cashrefund record, how can you change the exp...
# ask-stanley-ai
m
on a cashrefund record, how can you change the expense account that is debited?
c
AI generated answer (using internal Slack threads):
****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ****** To change the expense account that is debited on a cash refund record, you have a couple of options: 1. Workflow: You can create a workflow that triggers after the record submit. In this workflow, you can set the field value of the account field to the default account for the cash refund. Here is the logic:
After record submit > Set field Value > Account Field > Select the Default account for the Cash refund
. 2. Item Level: The account that a cash refund is debited to might be set at the item level. If this is the case, you would need to change the account associated with the item. However, if the Item record doesn't show the assigned accounts under Accounting even in edit mode, you might need to investigate further. 3. Custom GL Plugin script: If you need to do this through a script, you would have to write a Custom GL Plugin script. This would allow you to programmatically change the account that is debited for a cash refund. Remember, the method you choose will depend on your specific needs and the complexity of your NetSuite setup.
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.839171946
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.825203478
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.817567468
Please provide your feedback on this answer.