Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

cristiand391/industry-manufacturing-settings

Repository files navigation

Create scratch org

sfdx force:org:create -f config/project-scratch-def.json -s -a industry-man-set -v $DEVHUBUSERNAME --durationdays=1

Modify manufacturing settings in the org

Open org: sfdx force:org:open

Go to Setup > Manufacturing > Enable Sales Agreement

Retrieve settings

sfdx force:source:retrieve --manifest package.xml

=== Retrieved Source
FULL NAME                TYPE      PROJECT PATH
───────────────────────  ────────  ─────────────────────────────────────────────────────────────────────────
IndustriesManufacturing  Settings  force-app/main/default/settings/IndustriesManufacturing.settings-meta.xml

File IndustriesManufacturing.settings-meta.xml should be:

<?xml version="1.0" encoding="UTF-8"?>
<IndustriesManufacturingSettings xmlns="http://soap.sforce.com/2006/04/metadata">
    <enableIndManufacturing>true</enableIndManufacturing>
    <enableIndustriesMfgAccountForecast>false</enableIndustriesMfgAccountForecast>
    <enableIndustriesMfgAdvForecast>false</enableIndustriesMfgAdvForecast>
    <enableIndustriesMfgIAS>false</enableIndustriesMfgIAS>
    <enableIndustriesMfgTargets>false</enableIndustriesMfgTargets>
</IndustriesManufacturingSettings>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published