Service - CommerceAccounting Expense: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
Mint (talk | contribs)
No edit summary
Mint (talk | contribs)
 
(3 intermediate revisions by 2 users not shown)
Line 15: Line 15:
{
{
objectType: "comAccExpenseLink",
objectType: "comAccExpenseLink",
    generatedBy: "userGenerated",
canDelete: false,
canDelete: false,
belongTo: {
belongTo: {
serviceTag: "ComAccLink",
serviceTag: "CommerceAccountingLink",
objectType: "comAccLinkByBusiness"
objectType: "comAccLinkByBusiness"
},
},
Line 25: Line 26:
"storageType": "dynamoDB",
"storageType": "dynamoDB",
"tableName": "comAccExpenseLink",
"tableName": "comAccExpenseLink",
}
},
      "myGraph": {
            "storageType": "graph",
            "graphServerTag": "GraphHandler"
      }
     },
     },
     fieldNames: {
     fieldNames: {
// businessId
// businessId
// organizationId
// expenseId
// expenseId
// accountLinkTag // type of link: expenseEntry|..
// accountLinkTag // type of link: ..
// accountId
// accountId
     },
     },
Line 36: Line 42:
{
{
type: "partitionKey",
type: "partitionKey",
fieldNames: ["businessId","expenseId"],
fieldNames: ["businessId", "organizationId", "expenseId"],
name: "comAccLinkExpId",
},
},
{
{
Line 51: Line 58:
{
{
objectType: "comAccExpenseTypeLink",
objectType: "comAccExpenseTypeLink",
    generatedBy: "userGenerated",
canDelete: false,
canDelete: false,
belongTo: {
belongTo: {
serviceTag: "ComAccLink",
serviceTag: "CommerceAccountingLink",
objectType: "comAccLinkByBusiness"
objectType: "comAccLinkByBusiness"
},
},
Line 65: Line 73:
     fieldNames: {
     fieldNames: {
// businessId
// businessId
// organizationId
// expenseType // pointInTime|overTime
// expenseType // pointInTime|overTime
// accountLinkTag // type of link: expenseEntry|..
// accountLinkTag // type of link: purchaseLineItem|..
// accountId
// accountId
     },
     },
Line 72: Line 81:
{
{
type: "partitionKey",
type: "partitionKey",
fieldNames: ["businessId", "expenseType"],
fieldNames: ["businessId", "organizationId", "expenseType"],
name: "comAccLinkExpTypId",
},
},
{
{

Latest revision as of 03:51, 10 August 2026

Overview

Links Expense objects to Accounting structures.

Repository

...

Object Schemas

Additional Information
Per Service Schemas

comAccExpenseLink

{
	objectType: "comAccExpenseLink",
    generatedBy: "userGenerated",
	canDelete: false,
	belongTo: {
		serviceTag: "CommerceAccountingLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccExpenseLink",
		},
       "myGraph": {
            "storageType": "graph",
            "graphServerTag": "GraphHandler"
       }
    },
    fieldNames: {
		// businessId
		// organizationId
		// expenseId
		// accountLinkTag // type of link: ..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId", "organizationId", "expenseId"],
			name: "comAccLinkExpId",
		},
		{
			type: "sortKey",
			fieldName: "accountLinkTag"
		},
    ]
}

comAccExpenseTypeLink

{
	objectType: "comAccExpenseTypeLink",
    generatedBy: "userGenerated",
	canDelete: false,
	belongTo: {
		serviceTag: "CommerceAccountingLink",
		objectType: "comAccLinkByBusiness"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccExpenseTypeLink",
		}
    },
    fieldNames: {
		// businessId
		// organizationId
		// expenseType // pointInTime|overTime
		// accountLinkTag // type of link: purchaseLineItem|..
		// accountId
    },
    identifiers: [
		{
			type: "partitionKey",
			fieldNames: ["businessId", "organizationId", "expenseType"],
			name: "comAccLinkExpTypId",
		},
		{
			type: "sortKey",
			fieldName: "accountLinkTag"
		},
    ]
}

RelationshipSchemas

...

Working documents

CommerceAccounting Expenses