how to pritn check signature based on approver of ...
# ask-stanley-ai
n
how to pritn check signature based on approver of bill payment with 2 signers
c
AI generated answer (using internal Slack threads):
To print the check signature based on the approver of the bill payment with 2 signers, you can follow a similar approach to the one discussed in the first thread for printing PO approvers' signatures. Here are the steps: 1. Upload the signatures of the approvers in a .jpg format and save them in a specific folder in the File Cabinet. You can name the files with the internal id of the approvers for easy identification. 2. In your Advanced PDF/HTML template for the check, you can use the
nlapiLoadFile
function to load the signature image based on the internal id of the approver. Here is a sample code snippet:
Copy code
javascript
var signatureFile = nlapiLoadFile('folder/internalid/' + approverId + '.jpg');
var signatureUrl = signatureFile.getURL();
3. Then, you can use the
img
tag in your template to display the signature:
Copy code
html
<img src="${signatureUrl}" />
Please note that this approach assumes that you have a way to identify the approvers of the bill payment. If the approvers are not stored in a field on the bill payment record, you may need to use a SuiteScript or a workflow to capture this information. ****** 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.806098282
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.800638258
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.789129615
Please provide your feedback on this answer.