{
  "code": "revrectemplate",
  "id": 0,
  "translations": {
    "en": "Revenue Recognition Template"
  },
  "inactive": false,
  "fields": [
    {
      "code": "amorinactive",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Inactive"
        }
      },
      "mandatory": false
    },
    {
      "code": "amormethod",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Method"
        }
      },
      "mandatory": false
    },
    {
      "code": "amorperiod",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Amortization Period"
        }
      },
      "mandatory": false
    },
    {
      "code": "amorstartoffset",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Start Offset"
        }
      },
      "mandatory": false
    },
    {
      "code": "amortermsrc",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Term Source"
        }
      },
      "mandatory": false
    },
    {
      "code": "amortizationperiod",
      "type": "INTEGER",
      "translations": {
        "en": {
          "label": "Recognition Period"
        }
      },
      "mandatory": false
    },
    {
      "code": "amortizationtype",
      "type": "SELECT",
      "translations": {
        "en": {
          "label": "Type"
        }
      },
      "mandatory": false,
      "recordType": null
    },
    {
      "code": "amortype",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Type"
        }
      },
      "mandatory": false
    },
    {
      "code": "contraaccount",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Contra Account"
        }
      },
      "mandatory": false
    },
    {
      "code": "deferralaccount",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Deferral Account"
        }
      },
      "mandatory": false
    },
    {
      "code": "externalid",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "ExternalId"
        }
      },
      "mandatory": false
    },
    {
      "code": "externalidstring",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "External ID (Text)"
        }
      },
      "mandatory": false
    },
    {
      "code": "formulacurrency",
      "type": "CURRENCY",
      "translations": {
        "en": {
          "label": "Formula (Currency)"
        }
      },
      "mandatory": false
    },
    {
      "code": "formuladate",
      "type": "DATE",
      "translations": {
        "en": {
          "label": "Formula (Date)"
        }
      },
      "mandatory": false
    },
    {
      "code": "formuladatetime",
      "type": "DATETIME",
      "translations": {
        "en": {
          "label": "Formula (Date/Time)"
        }
      },
      "mandatory": false
    },
    {
      "code": "formulanumeric",
      "type": "FLOAT",
      "translations": {
        "en": {
          "label": "Formula (Numeric)"
        }
      },
      "mandatory": false
    },
    {
      "code": "formulapercent",
      "type": "PERCENT",
      "translations": {
        "en": {
          "label": "Formula (Percent)"
        }
      },
      "mandatory": false
    },
    {
      "code": "formulatext",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Formula (Text)"
        }
      },
      "mandatory": false
    },
    {
      "code": "initialamount",
      "type": "RATE",
      "translations": {
        "en": {
          "label": "Initial Amount"
        }
      },
      "mandatory": false
    },
    {
      "code": "isinactive",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Inactive"
        }
      },
      "mandatory": false
    },
    {
      "code": "ispublic",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Public"
        }
      },
      "mandatory": false
    },
    {
      "code": "job",
      "type": "SELECT",
      "translations": {
        "en": {
          "label": "Project"
        }
      },
      "mandatory": false,
      "recordType": "job"
    },
    {
      "code": "name",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Name"
        }
      },
      "mandatory": false
    },
    {
      "code": "name",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Name"
        }
      },
      "mandatory": true
    },
    {
      "code": "periodoffset",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Period Offset"
        }
      },
      "mandatory": false
    },
    {
      "code": "recogintervalsrc",
      "type": "SELECT",
      "translations": {
        "en": {
          "label": "Term Source"
        }
      },
      "mandatory": false,
      "recordType": null
    },
    {
      "code": "recurrencetype",
      "type": "SELECT",
      "translations": {
        "en": {
          "label": "Method"
        }
      },
      "mandatory": false,
      "recordType": null
    },
    {
      "code": "revrecoffset",
      "type": "INTEGER",
      "translations": {
        "en": {
          "label": "Start Offset"
        }
      },
      "mandatory": true
    },
    {
      "code": "targetaccount",
      "type": "TEXT",
      "translations": {
        "en": {
          "label": "Target Account"
        }
      },
      "mandatory": false
    },
    {
      "code": "totalamount",
      "type": "CURRENCY2",
      "translations": {
        "en": {
          "label": "Amount"
        }
      },
      "mandatory": false
    },
    {
      "code": "useforeignamounts",
      "type": "CHECKBOX",
      "translations": {
        "en": {
          "label": "Use Transaction Currency"
        }
      },
      "mandatory": false
    }
  ],
  "subLists": [
    {
      "code": "recurrence",
      "translations": {
        "en": "Custom Recurrence Pattern"
      },
      "fields": [
        {
          "code": "incomeaccount",
          "type": "SELECT",
          "translations": {
            "en": {
              "label": "Account"
            }
          },
          "mandatory": false,
          "recordType": "account"
        },
        {
          "code": "periodoffset",
          "type": "INTEGER",
          "translations": {
            "en": {
              "label": "Period Offset"
            }
          },
          "mandatory": true
        },
        {
          "code": "postingperiod",
          "type": "TEXT",
          "translations": {
            "en": {
              "label": "postingperiod"
            }
          },
          "mandatory": false
        },
        {
          "code": "recamount",
          "type": "RATE",
          "translations": {
            "en": {
              "label": "Amount"
            }
          },
          "mandatory": true
        }
      ]
    }
  ],
  "tabs": [
    {
      "code": "history",
      "translations": {
        "en": "System Notes"
      }
    },
    {
      "code": "meta",
      "translations": {
        "en": "Recurrence"
      }
    }
  ]
}