Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3895 Представления

I have created a python script with an automated action that logs a notification in the chatter of an article. This is done with 

record.message_post(body="text to be added as a note")

Does anyone know how I could include in this notification a stored field from the object, for example the sale price (list_price)

Many thanks in advance. 


Аватар
Отменить
Лучший ответ

Hi,

You can do it as follows:

msg = "list price %s" % record.list_price
record.message_post(body=msg)


Thanks & Regards

Аватар
Отменить
Автор

You have answered my request perfectly first time.
This works exactly as desired. Thank you so much!

Related Posts Ответы Просмотры Активность
1
нояб. 23
2005
2
дек. 23
5549
1
нояб. 22
2473
1
авг. 22
2553
2
янв. 22
5645