SalesTable.canBeDirectlyInvoiced Method
Determines whether the sales order can be directly invoiced through the Process Shipment feature.
Syntax
public boolean canBeDirectlyInvoiced()
Run On
Called
Return Value
Type: boolean
true if the sales order has a payment term of COD or Credit card; otherwise, false.
Remarks
The Process shipment button is used for COD and credit card transactions.
If the payment type is a credit card, the button will process the credit card and post the invoice.
If the payment type is COD, the button with post the invoice.
The Invoice button is used to post all other transactions that are not COD or credit card.
If the Process Shipment feature was used, the Invoice button will print the invoice again.