Skip to main content
added 1 character in body
Source Link
Adrian Larson
  • 151.3k
  • 38
  • 247
  • 431

I haveneed to update the Value inset a field in Orderon the Order object using field update in workflow Rule

Updated fielda Workflow Field Update, and the updated value should be formatted as follows:

Account JDE Shipto number- YYMMDDHHmmSS

like this format

<Account JDE Ship to number> - YYMMDDHHmmSS 

for that i am using Formula field editorI have tried to populate the Valuefollowing formula:

Account.JDE_ship_to_account_no__c - DATETIMEVALUE()

enter image description here But the formula editor gives me this error:

Error: Incorrect number of parameters for function 'DATETIMEVALUE()'.` Expected 1, received 0

but it is showing error, what i have to give in the Datetimevalue(expression) please anyone guide me for the Answer How can I make this field update work?

I have to update the Value in field in Order object using field update in workflow Rule

Updated field value should be:

Account JDE Shipto number- YYMMDDHHmmSS

like this format

for that i am using Formula field editor to populate the Value

enter image description here

but it is showing error, what i have to give in the Datetimevalue(expression) please anyone guide me for the Answer

I need to set a field on the Order object using a Workflow Field Update, and the updated value should be formatted as follows:

<Account JDE Ship to number> - YYMMDDHHmmSS 

I have tried to the following formula:

Account.JDE_ship_to_account_no__c - DATETIMEVALUE()

But the formula editor gives me this error:

Error: Incorrect number of parameters for function 'DATETIMEVALUE()'.` Expected 1, received 0

How can I make this field update work?

edited tags
Link
SFDC
  • 668
  • 17
  • 43
Source Link
SFDC
  • 668
  • 17
  • 43

Field Update in Workflow Rule

I have to update the Value in field in Order object using field update in workflow Rule

Updated field value should be:

Account JDE Shipto number- YYMMDDHHmmSS

like this format

for that i am using Formula field editor to populate the Value

enter image description here

but it is showing error, what i have to give in the Datetimevalue(expression) please anyone guide me for the Answer