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

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.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    ClosingWorkInProgressGLAccountCode String Get/Set the default closing work in progress GL account code applied to new stock items.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    ItemGroupID String Get/Set the default item group ID applied to new stock items. This is used for reporting.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    ItemTypeID String Get/Set the default item type applied to new stock items. A type of "P" by defaults means product, "S" service.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    IsFranchise Boolean Get/Set the franchise applied to new stock items.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    LocationID String Get/Set the default location ID applied to new stock items.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    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.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    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.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    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.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    SubLocationID String Get/Set the default sub-location ID applied to new stock items.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    TaxID String Get/Set the default tax code applied to new stock items.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    UpdateOnHand Boolean Get/Set the update on hand applied to new stock items.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    WorkInProgressGLAccountCode String Get/Set the default work in progress GL account code applied to new stock items.
    • Cannot be empty.
    • Cannot be NULL.
    • Cannot be more than 50 characters.
    ⚠️ **GitHub.com Fallback** ⚠️