Service - CommerceAccounting Customer Payment

From Izara Wiki
Jump to navigation Jump to search

Overview

Handle payments by customers.

Repository

...

Object Schemas

Additional Information
Per Service Schemas
{
	objectType: "comAccCustomerPaymentLink",
	canDelete: false,
	belongTo: {
		serviceTag: "ComAccLink",
		objectType: "comAccLink"
	},
	addOnDataStructure: [],
	storageResources: {
		"dynamo": {
			"storageType": "dynamoDB",
			"tableName": "comAccCustomerPaymentLink",
		}
    },
    fieldNames: {
		// probably have two dynamo tables, one identified by purchaseId, one by journalId
		
    },
    identifiers: [
		{
			// see above note
		}
    ]
}
  • maintains a link between customerPaymentId and journalIds, so can adjust if changes made to payment

Relationships

...

flowSchemas

customerPaymentCreated

  • when creating a customer payment add journal entries

customerPaymentChange

  • make adjustment to journal entries
  • need to check for locked records

Working documents

CommerceAccounting Customer Payment