| | |
| | | Products: productInfoList, |
| | | OperationID: 0, |
| | | SourceNumber: req.OrderNumber, |
| | | SaleDetailsNumber: req.OrderNumber, |
| | | }) |
| | | } |
| | | |
| | |
| | | Products []*ProductInfo |
| | | OperationID int |
| | | SourceNumber string |
| | | SaleDetailsNumber string |
| | | } |
| | | |
| | | type ProductInfo struct { |
| | |
| | | BaseOperationType: constvar.BaseOperationTypeOutgoing, |
| | | LocationID: output.LocationID, |
| | | OperationSource: constvar.OperationSourceSaleDelivery, |
| | | SalesDetailsNumber: output.SaleDetailsNumber, |
| | | } |
| | | operations = append(operations, operation) |
| | | autoCode = models.GetAutoCode(maxAutoIncr, codeStandard) |