SCM

scmc.RequisitionAPI

global with sharing class RequisitionAPI

Global class to support creating requisitions from an external system

Author

Financial Force, Inc.

Methods

addRequisitions

webservice static List<scmc.RequisitionAPI.Requisition> addRequisitions(List<scmc.RequisitionAPI.Requisition> requisitions)

Create SCM Requisition and Requisition Line records.

Input Parameters

Name Type Description
requisitions List<scmc.RequisitionAPI.Requisition> A list of Requisition objects representing the requisitions and lines to be added.

Exceptions Thrown

Value Description
RequisitionException If item is not provided on a line.
SCMException If specified lineType is invalid.

Return Value

List of Requisition objects that were created.

scmc.RequisitionAPI.RequisitionLine

global with sharing class RequisitionLine

Class to hold requisition line information.

Properties

Name Type Description
Budget Double Requestor's budget established for the buyer to use when placing the Purchase Order Line.
ChargeNumber String The authorized charge number used for this purchase.
ConditionCode String The condition of the item to purchase.
DPASRating String Defense Priorities and Allocations System Rating for Government Contract.
Description String Not currently used.
DropShipCity String Drop ship address information.
DropShipCountry String Drop ship address information.
DropShipLine1 String Drop ship address information.
DropShipLine2 String Drop ship address information.
DropShipName String Drop ship address information.
DropShipState String Drop ship address information.
DropShipZip String Drop ship address information.
ItemDescription String A description of the item being requested. Used only when the requested item is not set up in the item master.
ItemNumber String The name of the item being requested.
LineType String The developer name of the requisition line record type to create. Defaults to 'Item'.
Quantity Double The number of units being requisitioned.
RequestedDate Date The date the item is required to be delivered.
ServiceBeingRequested String A description of the service being requested.
SuggestedSupplier String A suggested supplier for sourcing of this requisition.
SupplierCatalogueItem String The Id of an SCM Supplier Catalog Item that is being requested.
Taxable Boolean Whether taxes are applicable to this line.
DeliverWarehouse String The warehouse where the goods are to be shipped. If populated this overrides the requisition deliver warehouse field.

scmc.RequisitionAPI.Requisition

global with sharing class Requisition

Class to hold requisition information.

Properties

Name Type Description
lines List<scmc.RequisitionAPI.RequisitionLine> List of requitision line objects.
RequestorDepartment String Name of the department requesting the requisition.
NotesToBuyer String Additional information that you would like the buyer to be aware of.
RequisitionName String A Name for the Requisition.
Status String Not currently used.
DeliverWarehouse String The warehouse where the goods are to be shipped.
requisitionId ID Id of the newly added Requisition. This is populated after addRequisitions is called.
reqName String Not currently used.
© Copyright 2009–2020 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.