StockItemDefaults - accountsIQ/API-Wiki GitHub Wiki
Presentation of the StockItemDefaults data structure. StockItem defaults need to be set before new StockItem accounts can be created
StockItemDefaults members
| Name | Type | Description | Constraints |
|---|---|---|---|
| AuthorUserID | String | Get the ID of the user who last updated the `StockItem` defaults. | |
| ClosingStockGLAccountCode | String | Get/Set the default stock GL account code applied to new stock items. This and the `StockGLAccountCode` are used to create the Cost of sales movements. |
|
| ClosingWorkInProgressGLAccountCode | String | Get/Set the default closing work in progress GL account code applied to new stock items. |
|
| ItemGroupID | String | Get/Set the default item group ID applied to new stock items. This is used for reporting. |
|
| ItemTypeID | String | Get/Set the default item type applied to new stock items. A type of "P" by defaults means product, "S" service. |
|
| IsFranchise | Boolean | Get/Set the franchise applied to new stock items. |
|
| LocationID | String | Get/Set the default location ID applied to new stock items. |
|
| PurchasesGLAccountCode | String | Get/Set the default purchases GL account code applied to new stock items. This is where a GL movement will be created when a stock item is bought. |
|
| SalesGLAccountCode | String | Get/Set the default purchases GL account code applied to new stock items. This is where a GL movement will be created when a stock item is bought. |
|
| StockGLAccountCode | String | Get/Set the default stock GL account code applied to new stock items. This and the ClosingStockGLAccountCode are used to create the Cost of sales movements. |
|
| SubLocationID | String | Get/Set the default sub-location ID applied to new stock items. |
|
| TaxID | String | Get/Set the default tax code applied to new stock items. |
|
| UpdateOnHand | Boolean | Get/Set the update on hand applied to new stock items. |
|
| WorkInProgressGLAccountCode | String | Get/Set the default work in progress GL account code applied to new stock items. |
|