IStockLocationService
Methods
__joinerConfig
**__joinerConfig**(): [ModuleJoinerConfig](/references/services/types/ModuleJoinerConfig)
Returns
ModuleJoinerConfig
Omit<JoinerServiceConfig, "serviceName" | "primaryKeys" | "relationships" | "extends"> & { databaseConfig?: { extraFields?: Record<string, { defaultValue?: string ; nullable?: boolean ; options?: Record<string, unknown> ; type: "date"\|"time"\|"datetime"\|"bigint"\|"blob"\|"uint8array"\|"array"\|"enumArray"\|"enum"\|"json"\|"integer"\|"smallint"\|"tinyint"\|"mediumint"\|"float"\|"double"\|"boolean"\|"decimal"\|"string"\|"uuid"\|"text" }> ; idPrefix?: string ; tableName?: string } ; extends?: { fieldAlias?: Record<string, string \| { forwardArgumentsOnPath: string[] ; path: string }> ; relationship: [ModuleJoinerRelationship](/references/services/types/ModuleJoinerRelationship) ; serviceName: string }[] ; isLink?: boolean ; isReadOnlyLink?: boolean ; linkableKeys?: Record<string, string> ; primaryKeys?: string[] ; relationships?: [ModuleJoinerRelationship](/references/services/types/ModuleJoinerRelationship)[] ; schema?: string ; serviceName?: string }Requiredcreate
**create**(input, context?): Promise<[StockLocationDTO](/references/services/types/StockLocationDTO)>
Parameters
context
SharedContextReturns
Promise<StockLocationDTO>
delete
**delete**(id, context?): Promise<void>
Parameters
id
stringRequiredcontext
SharedContextReturns
Promise<void>
Promise
Promise<void>Requiredlist
**list**(selector, config?, context?): Promise<[StockLocationDTO](/references/services/types/StockLocationDTO)[]>
Parameters
Returns
Promise<StockLocationDTO[]>
listAndCount
**listAndCount**(selector, config?, context?): Promise<[[StockLocationDTO](/references/services/types/StockLocationDTO)[], number]>
Parameters
Returns
Promise<[StockLocationDTO[], number]>
retrieve
**retrieve**(id, config?, context?): Promise<[StockLocationDTO](/references/services/types/StockLocationDTO)>
Parameters
Returns
Promise<StockLocationDTO>
update
**update**(id, input, context?): Promise<[StockLocationDTO](/references/services/types/StockLocationDTO)>
Parameters
Returns
Promise<StockLocationDTO>