Class SO_SalesOrder_svc

Inherits

SY_Service

Properties

LOCAL cIsSysDB=isFALSE  
LOCAL cMainTable$="SO_SalesOrderHeader"  
PROPERTY DocumentTotal   * Read Only *
PROPERTY FromShipping  
PROPERTY ValidOrderClause$  

Methods

FUNCTION CheckForDuplicatePO(order$, div$, cust$, po$)  
FUNCTION OrderBeingInvoiced(invoicedOrShipped$, currInvNo$)  

Check if sales order is being shipped or invoiced.

ParameterDescription
invoicedOrShipped$ [output, string] "invoiced" or "shipped"
currInvNo$ [output, string] current invoice number
Returns [boolean] True if order is being invoiced or shipped. False otherwise.
Need to do coSalesOrderSvc'Find(salesorderno$) or coSalesOrderSvc'IsValid(salesorderno$) before calling this method.
FUNCTION RecordLock(key$)  
FUNCTION SetCurrentInvoice(invoice$)  
FUNCTION SetParentHandle(parentTable$, parentHandle, src$, srcMap$, dstMap$)  

Properties inherited from: SY_Service

BOF, CurrentBrowseIndex$, CurrentIndex$, EOF, SecurityAccess

Methods inherited from: SY_Service

BindVariable(), CheckMainTable(), Clear(), Find(), FindById(), GetChildHandle(), GetChildKeyReference$(), GetColumns$(), GetDataSources$(), GetDataSourcesAddl$(), GetJson$(), GetKey$(), GetKeyColumns$(), GetKeyPadded$(), GetPartialRecord(), GetRecord(), GetRecordCount(), GetRecordEx(), GetResultSets(), GetTable$(), GetTablePath$(), GetValue(), GetValues(), IsValid(), MoveFirst(), MoveLast(), MoveNext(), MovePrevious(), ReadAdditional(), SetBrowseFilter(), SetBrowseIndex(), SetCacheMode(), SetIndex(), SetKeyValue(), SetParentColumns(), SetParentHandle(), SetUIHandle(), PERFORM ClearEditRcd(), FormatJson$(), GetAddlDataSources(), GetDateColumns$(), InitChildCollection(), MoveFirstLast(), MoveNextPrevious(), OpenMainTable(), ParseKeyDef(), PrepareKeyDef(), ReadRec(), ResolveColumnList$(), SetControls(), SetCurrentKey(), UseKeyColl()