lib/app/poitem.go

51 lines
1.2 KiB
Go
Raw Normal View History

2021-01-10 23:44:39 +00:00
package app
2021-01-10 18:40:46 +00:00
2021-01-12 05:46:24 +00:00
import (
"database/sql"
"code.tnxs.net/taxnexus/lib/api/ops/ops_models"
)
2021-01-14 06:36:35 +00:00
// PurchaseOrderItemChannelWrapper wraps the object with workflow params
2021-01-12 05:46:24 +00:00
type PurchaseOrderItemChannelWrapper struct {
2021-01-19 01:50:45 +00:00
Obj ops_models.PurchaseOrderItem
APIKey string
SagaID string
SagaType string
2021-01-12 05:46:24 +00:00
}
2021-01-10 18:40:46 +00:00
// PurchaseOrderItem is a first class object type
type PurchaseOrderItem struct {
ID string
CreatedByID string
CreatedDate sql.NullTime
Description string
DueDate sql.NullTime
Family string
LastModifiedByID string
LastModifiedDate sql.NullTime
LocationID string
MRCInterval int64
OrderItemID string
ParentFK string
PurchaseOrderID string
ProductCode string
ProductID string
ProductName string
Quantity float64
QuoteItemID string
ReceivedQuantity float64
Ref string
RejectedQuantity float64
ShippmentItemID string
ShippingHandling float64
Status string
StockedQuantity float64
Subtotal float64
TaxnexusCodeDisplay string
TaxnexusCodeID string
TenantID string
UnitPrice float64
Units string
}