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"
|
|
|
|
)
|
|
|
|
|
|
|
|
// PurchaseOrderItemChannelWrapper wraps the object with the security principal
|
|
|
|
type PurchaseOrderItemChannelWrapper struct {
|
|
|
|
Obj ops_models.PurchaseOrderItem
|
|
|
|
Principal User
|
2021-01-13 05:30:35 +00:00
|
|
|
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
|
|
|
|
}
|