Ingorca
06/02/2021, 7:51 AMThe equivalent script is as follows: function(search, record) {
/**
* @param search @param record
*/
function getInputData() {
return search.create({
type: "transaction",
filters:
[
["itemsubof","anyof","2054"],
"AND",
["status","anyof","ItemShip:C"]
],
columns:
[
search.createColumn({name: "internalid", label: "Internal ID"}),
search.createColumn({name: "item", label: "Item"}),
search.createColumn({name: "entity", label: "Name"})
]
});
}
However, the personalized form in which these fields are located is of type "Item" and I do not know how to make the mapping between the result of my saved search and the fields of my personalized form so that the content of my "Item" field depends of the "Customer" field and therefore only displays the items sent in the customer's stock.
Can someone point me to a script that will accomplish this. Thank youbattk
06/02/2021, 8:05 AMbattk
06/02/2021, 8:08 AMbattk
06/02/2021, 8:09 AMbattk
06/02/2021, 8:10 AMIngorca
06/02/2021, 8:22 AMbattk
06/02/2021, 8:29 AMbattk
06/02/2021, 8:31 AMIngorca
06/02/2021, 8:31 AM