Class TransactionPrintController
Controller to print transactions
Inheritance
System.Object
TransactionPrintController
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.ERP.Core
Assembly: Simplic.ERP.Core.dll
Syntax
public class TransactionPrintController
Methods
| Improve this Doc View SourcePrintAsPdf(Transaction)
Print a transaction and return a pdf
Declaration
public byte[] PrintAsPdf(Transaction transaction)
Parameters
Type | Name | Description |
---|---|---|
Transaction | transaction | Transaction instance |
Returns
Type | Description |
---|---|
System.Byte[] | If a pdf could be created, the blob will be returned |
PrintAsPdf(Guid)
Print a transaction and return a pdf
Declaration
public byte[] PrintAsPdf(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Unique transaction id |
Returns
Type | Description |
---|---|
System.Byte[] | If a pdf could be created, the blob will be returned |