Write me a basic vendor bill workflow approved my ...
# ask-stanley-ai
m
Write me a basic vendor bill workflow approved my a role
c
AI generated answer (using internal Slack threads):
To create a basic vendor bill approval workflow in NetSuite, you can follow these steps: 1. Navigate to
Customization > Workflow > Workflows > New
. 2. In the
Primary Information
section, enter a name for the workflow and select
Vendor Bill
as the record type. 3. In the
Triggers
section, select
Event Based
and
After Record Submit
from the
On Create
field. 4. In the
States
section, click
New State
. This will be the initial state of the workflow. 5. In the
Transitions
section of the initial state, click
New Action
. 6. In the
Action
field, select
Set Field Value
. In the
Field
field, select
Approval Status
and in the
Value
field, select
Pending Approval
. 7. Create a new state for the approval process. In this state, create a new action with
Action
as
Set Field Value
,
Field
as
Approval Status
and
Value
as
Approved
. 8. Create a transition from the initial state to the approval state. This transition can be based on a condition that checks the role of the user. For example, if the role of the user is 'Accountant', then the transition will be executed. Here is a basic example of how the workflow might look:
Copy code
Workflow: Vendor Bill Approval Workflow
Record Type: Vendor Bill

State 1: Initial State
- Trigger: After Record Submit
- Action: Set Field Value (Approval Status = Pending Approval)

State 2: Approval State
- Action: Set Field Value (Approval Status = Approved)

Transition: Initial State -> Approval State
- Condition: {role} = 'Accountant'
Please note that this is a very basic workflow and might not cover all your business requirements. You might need to add more states, actions, and transitions based on your specific needs. ****** 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.862351537
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.860644162
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.860450625
Please provide your feedback on this answer.