Requested for keeps showing opened by on order guide
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
Hi,
we discovered that when a catalog item is submitted trough an order guide the approval related list shows the opened by in the requested for field (screenshots), this only happens when submitted trough an order guide.
doing some research i found that this is OOB behavior for the order guide , but i wonder if someone was able to find a solution for this anyway ?
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yesterday
fixed it by creating this before insert BR:
(function executeRule(current, previous /*null when async*/ ) {
var requestedFor = current.variables.requested_for;
if (requestedFor) {
current.requested_for = requestedFor;
if (current.request) {
current.request.requested_for = requestedFor;
}
}
})(current, previous);
