Merge pull request #5 from Sai-Emani25/main

Add Opportunity Days_Open__c formula field
This commit is contained in:
Jeff Douglas 2026-01-30 16:08:57 -05:00 committed by GitHub
commit b3b018c80f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Days_Open__c</fullName>
<externalId>false</externalId>
<formula>TODAY() - DATEVALUE(CreatedDate)</formula>
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
<label>Days Open</label>
<precision>18</precision>
<required>false</required>
<scale>0</scale>
<trackTrending>false</trackTrending>
<type>Number</type>
<unique>false</unique>
</CustomField>

12
sfdx-project.json Normal file
View File

@ -0,0 +1,12 @@
{
"packageDirectories": [
{
"path": "force-app",
"default": true
}
],
"name": "TrailHead_VibeChallenge",
"namespace": "",
"sfdcLoginUrl": "https://login.salesforce.com",
"sourceApiVersion": "60.0"
}