mescalante
08/12/2025, 12:38 AMCeligo AI
08/12/2025, 12:39 AMAI generated answer (using internal Slack threads):To customize the Bin Transfer screen to add a 'Created By' field, you would need to create a custom field and then use a User Event script to populate this field whenever a Bin Transfer is created. Unfortunately, the standard 'Created By' field is system-generated and cannot be modified directly. Here's a basic example of how you might do this: 1. Navigate to
Customization > Lists, Records, & Fields > Record Types
.
2. Find 'Bin Transfer' in the list and click 'New Field'.
3. Set the Label to 'Created By', the Type to 'List/Record', and the List/Record to 'Employee'.
4. Ensure this field is stored, and set the Display subtab and other properties as desired.
5. Save the new field.
Next, you would create a User Event script that populates this field when a Bin Transfer is created:
javascript
/**
* @NApiVersion 2.x
* @NScriptType UserEventScript
*/
define(['N/record'], function(record) {
function beforeSubmit(context) {
if (context.type === context.UserEventType.CREATE) {
var currentUser = runtime.getCurrentUser().id;
context.newRecord.setValue({
fieldId: 'custrecord_created_by', // replace with your actual field ID
value: currentUser
});
}
}
return {
beforeSubmit: beforeSubmit
};
});
This script gets the current user's ID when a Bin Transfer is created and sets the 'Created By' field to that user.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
08/12/2025, 12:39 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.79820925
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.787201881
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.786147416
Celigo AI
08/12/2025, 12:39 AM