Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { ItemCode string `json:"ItemCode"` EANCode string `json:"EANCode"` ItemName string `json:"ItemName"` LocName string `json:"LocName"` Quantity float64 `json:"Quantity"` ReservedQuantity float64 `json:"ReservedQuantity"` UnitCode string `json:"UnitCode"` Amount float64 `json:"Amount"` Price float64 `json:"Price"` }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetInventoryReport ¶
func (c *Client) GetInventoryReport(query GetInventoryReportQuery) ([]Article, error)
func (*Client) GetItemGroups ¶
func (*Client) GetListOfLocations ¶
type GetInventoryReportQuery ¶
type GetItemsQuery ¶
type Item ¶
type Item struct { ID string `json:"ItemId"` Code string `json:"Code"` Name string `json:"Name"` UnitofMeasureName string `json:"UnitofMeasureName"` Type string `json:"Type"` SalesPrice float64 `json:"SalesPrice"` InventoryQty float64 `json:"InventoryQty"` ReservedQty float64 `json:"ReservedQty"` VatTaxName string `json:"VatTaxName"` Usage string `json:"Usage"` SalesAccountCode string `json:"SalesAccountCode"` PurchaseAccountCode string `json:"PurchaseAccountCode"` InventoryAccountCode string `json:"InventoryAccountCode"` ItemCostAccountCode string `json:"ItemCostAccountCode"` DiscountPct float64 `json:"DiscountPct"` LastPurchasePrice float64 `json:"LastPurchasePrice"` ItemUnitCost float64 `json:"ItemUnitCost"` InventoryCost float64 `json:"InventoryCost"` ItemGroupName string `json:"ItemGroupName"` DefLocName string `json:"DefLoc_Name"` EANCode string `json:"EANCode"` }
type Location ¶
type Location struct { CompanyID int `json:"CompanyId"` LocationID string `json:"LocationId"` Code string `json:"Code"` Name string `json:"Name"` InBPrefix string `json:"InBPrefix"` InBNextNo int `json:"InBNextNo"` OutBPrefix string `json:"OutBPrefix"` OutBNextNo int `json:"OutBNextNo"` Loc2LocPrefix string `json:"Loc2LocPrefix"` Loc2LocNextNo int `json:"Loc2LocNextNo"` InvSetPrefix string `json:"InvSetPrefix"` InvSetNextNo int `json:"InvSetNextNo"` }
Click to show internal directories.
Click to hide internal directories.