Documentation ¶
Index ¶
- func AvailableStock(c *gin.Context)
- func CreateMinventory(c *gin.Context)
- func CreateMproduct(c *gin.Context)
- func DeleteMinventory(c *gin.Context)
- func DeleteMproduct(c *gin.Context)
- func DoInout(p InoutParam) error
- func FetchAllMinventory(c *gin.Context)
- func FetchAllMproduct(c *gin.Context)
- func GoodReceipt(c *gin.Context)
- func GoodShipment(c *gin.Context)
- func Inout(c *gin.Context)
- func IssetProduct(id string) error
- func SalesOrder(c *gin.Context)
- func UpdateMinventory(c *gin.Context)
- func UpdateMproduct(c *gin.Context)
- func UploadStock(c *gin.Context)
- func ValueofProduct(c *gin.Context)
- type InoutParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoInout ¶
func DoInout(p InoutParam) error
the main function of the inventory application Automatically update stock data in the warehouse and record the history of product IN and OUT Automatically detect it's sales order / purchase order
IN = Put the product into the warehouse OUT = Eject product from the warehouse P = Purchase Order S = Sales Order
func Inout ¶
the main function of the inventory application this API Serve to update the stock of goods out / in from the warehouse please use IN / OUT for inout type IN = Put the product into the warehouse OUT = Eject product from the warehouse
func IssetProduct ¶
func UploadStock ¶
Migration data inventory
this migration process takes several steps: 1. creating order dummy so system can get information about product, purchase price & last stock 2. move order data to inventory