Job..::..CreateSalesOrder Method

Creates the sales order.

Namespace:  JiwaFinancials.Jiwa.JiwaServiceManager
Assembly:  JiwaServiceManager (in JiwaServiceManager.dll)

Syntax


public void CreateSalesOrder(
	SalesOrder..::..NewSalesOrderTypes NewSalesOrderType,
	string DebtorID,
	bool WholesaleInvoice,
	SalesOrder..::..SalesOrderBillTypes BillingType,
	SalesOrder..::..SalesOrderTypes DocumentType,
	string BranchID,
	string StaffID,
	ref string InvoiceNo,
	int CreatedFromTaskNo,
	string DeliveryAddress1,
	string DeliveryAddress2,
	string DeliveryAddress3,
	string DeliveryAddress4,
	string DeliveryPostCode
)
Public Sub CreateSalesOrder ( _
	NewSalesOrderType As SalesOrder..::..NewSalesOrderTypes, _
	DebtorID As String, _
	WholesaleInvoice As Boolean, _
	BillingType As SalesOrder..::..SalesOrderBillTypes, _
	DocumentType As SalesOrder..::..SalesOrderTypes, _
	BranchID As String, _
	StaffID As String, _
	ByRef InvoiceNo As String, _
	CreatedFromTaskNo As Integer, _
	DeliveryAddress1 As String, _
	DeliveryAddress2 As String, _
	DeliveryAddress3 As String, _
	DeliveryAddress4 As String, _
	DeliveryPostCode As String _
)
public:
void CreateSalesOrder(
	SalesOrder..::..NewSalesOrderTypes^ NewSalesOrderType, 
	String^ DebtorID, 
	bool^ WholesaleInvoice, 
	SalesOrder..::..SalesOrderBillTypes^ BillingType, 
	SalesOrder..::..SalesOrderTypes^ DocumentType, 
	String^ BranchID, 
	String^ StaffID, 
	String^% InvoiceNo, 
	int^ CreatedFromTaskNo, 
	String^ DeliveryAddress1, 
	String^ DeliveryAddress2, 
	String^ DeliveryAddress3, 
	String^ DeliveryAddress4, 
	String^ DeliveryPostCode
)

Parameters

NewSalesOrderType
Type: JiwaFinancials.Jiwa.JiwaSales.SalesOrder..::..SalesOrder..::..NewSalesOrderTypes
New type of the sales order.
DebtorID
Type: String
The debtor identifier.
WholesaleInvoice
Type: Boolean
if set to true [wholesale invoice].
BillingType
Type: JiwaFinancials.Jiwa.JiwaSales.SalesOrder..::..SalesOrder..::..SalesOrderBillTypes
Type of the billing.
DocumentType
Type: JiwaFinancials.Jiwa.JiwaSales.SalesOrder..::..SalesOrder..::..SalesOrderTypes
Type of the document.
BranchID
Type: String
The branch identifier.
StaffID
Type: String
The staff identifier.
InvoiceNo
Type: String%
The invoice no.
CreatedFromTaskNo
Type: Int32
The created from task no.
DeliveryAddress1
Type: String
The delivery address1.
DeliveryAddress2
Type: String
The delivery address2.
DeliveryAddress3
Type: String
The delivery address3.
DeliveryAddress4
Type: String
The delivery address4.
DeliveryPostCode
Type: String
The delivery post code.