Shelby Owens
09/26/2024, 7:50 PMCeligo AI
09/26/2024, 7:50 PMAI 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. ****** The issue you're facing is that the PO Vendor field on the line level of a Sales Order is emptied out when making a copy of that Sales Order. This is because the 'Make Copy' function in NetSuite does not carry over certain fields by default, including the PO Vendor field. To ensure the PO Vendor field is carried over when making a copy from a Sales Order, you would need to use a client script or a workflow. Here's a general idea of how you could approach this: 1. Client Script: When you click 'Make Copy', the page that loads has a URL parameter of the Internal ID of the record you copied. You can use a client script on the new record to load the copied record, loop through the lines, and update the new record with the fields you need. However, please note that if the original record is locked by a Workflow, you cannot load it via script. 2. Workflow: You can create a workflow that triggers on the 'Make Copy' action. This workflow would then copy the PO Vendor field from the original Sales Order to the new one. Please note that these are general suggestions and you would need to adapt them to your specific use case. Also, keep in mind that scripting or creating workflows in NetSuite requires a good understanding of SuiteScript and the NetSuite platform.
Celigo AI
09/26/2024, 7:50 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.851207554
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841905653
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.836531
Celigo AI
09/26/2024, 7:50 PM