PRODUCT_SUPPLIER_ORDER_RECEIVAL_SEARCH PRODUCT Endpoint
  /rpc/product/?method=PRODUCT_SUPPLIER_ORDER_RECEIVAL_SEARCH  
  For information on how to use Advanced Searches, click here  
  DETAILS    
  Prefix SupplierOrderReceival  
  SUB SEARCHES    
  SupplierOrderReceivalItem PRODUCT_SUPPLIER_ORDER_RECEIVAL_ITEM_SEARCH  
  AVAILABLE FIELDS TYPE  
  Id Numeric  
  InvoiceDate Date  
  InvoiceDateTimeZone Numeric  
  InvoiceDateTimeZoneText Text (50)  
  Notes Text (2000)  
  ReceivalDate Date  
  ReceivalDateTimeZone Numeric  
  ReceivalDateTimeZoneText Text (50)  
  Reference Text (50)  
  Status Numeric 1=In Progress,2=Needs Finalising,3=Finalised
  StatusText Text (50)  
  Store Numeric Id of the linked Store
  StoreText Text (50) Title of the linked Store
  SupplierOrder Numeric Id of the linked Supplier Order
  SupplierOrderText Text (50) Reference of the linked Supplier Order
  SupplierReference Text (50)  
       
  Audit Fields   Click here for more information
  RETURN  
  Selected Fields  
  EXAMPLE
  1. Receivals this month
  oAdvancedSearch.endPoint = 'product';
oAdvancedSearch.method = 'PRODUCT_SUPPLIER_ORDER_RECEIVAL_SEARCH';
oAdvancedSearch.addField('supplierordertext,reference,receivaldate');
oAdvancedSearch.addFilter('createddate','MONTH_TO_DATE');

oAdvancedSearch.getResults(function(asData) { SearchComplete(asData);});