WinglGlobalPost_Invoice Method
Takes the InvoiceKey of one invoice and does all of the
posting: GL, Check Register, etc.
Namespace: MbcsCentral.WinGLAssembly: MbcsCentral (in MbcsCentral.exe) Version: 2.0.1.15 (2.0.1.15)
public static short Post_Invoice(
int inv,
short postflag,
int Batch,
int CashAcct,
string desc,
WinglGlobalPostInvoice_type Invoice,
bool docOpen,
bool scan,
bool batchProcess = false
)
- inv Int32
- postflag Int16
- Batch Int32
- CashAcct Int32
- desc String
- Invoice WinglGlobalPostInvoice_type
- docOpen Boolean
- scan Boolean
- batchProcess Boolean (Optional)
-
Int160 if good, -1 means no distribution records were found, and
-2 means another error occured