Class TransactionFactory
Helper to easily create transactions
Inheritance
System.Object
TransactionFactory
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 static class TransactionFactory
Methods
| Improve this Doc View SourceCreate(Guid, Nullable<Guid>)
Create new incoming credit
Declaration
public static Transaction Create(Guid typeId, Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | typeId | |
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |
CreateIncomingCredit(Nullable<Guid>)
Create new incoming credit
Declaration
public static Transaction CreateIncomingCredit(Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |
CreateIncomingDeliveryNote(Nullable<Guid>)
Create new incoming delivery note
Declaration
public static Transaction CreateIncomingDeliveryNote(Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |
CreateIncomingInvoice(Nullable<Guid>)
Create new incoming invoice
Declaration
public static Transaction CreateIncomingInvoice(Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |
CreateIncomingOffer(Nullable<Guid>)
Create new incoming offer
Declaration
public static Transaction CreateIncomingOffer(Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |
CreateIncomingPurchaseOrder(Nullable<Guid>)
Create new incoming purchase order
Declaration
public static Transaction CreateIncomingPurchaseOrder(Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |
CreateOutgoingCredit(Nullable<Guid>)
Create new outgoing credit
Declaration
public static Transaction CreateOutgoingCredit(Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |
CreateOutgoingDeliveryNote(Nullable<Guid>)
Create new outgoing delivery note
Declaration
public static Transaction CreateOutgoingDeliveryNote(Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |
CreateOutgoingInvoice(Nullable<Guid>)
Create new outgoing invoice
Declaration
public static Transaction CreateOutgoingInvoice(Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |
CreateOutgoingOffer(Nullable<Guid>)
Create new outgoing offer
Declaration
public static Transaction CreateOutgoingOffer(Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |
CreateOutgoingOrder(Nullable<Guid>)
Create new outgoing order
Declaration
public static Transaction CreateOutgoingOrder(Guid? subtype = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Guid> | subtype | Optional subtype |
Returns
Type | Description |
---|---|
Transaction | Transaction instance |