xMatix
Sign in Request demo
xMatix
PRODUCTS
SalesField SalesCRMRewardsClaimsInventoryProcurementWarehouse ManagementField ServiceServiceSupportTelephony & MessagingFinance & AccountingPayrollExpense ManagementCommercePortalsAnalytics & ReportingData StudioMobile AppSee all products →
PLATFORM
Platform overviewApp BuilderAutomationIntegrationsSecurity & GovernanceChange ManagementDevelopers
SENSE AI
Sense AI overviewSense AssistSense ControlSense VisionAI StudioTrust & governanceIn Claude & ChatGPTUse cases
SOLUTIONS
FMCG & DistributionManufacturing & Dealer NetworksAutomotive & DealershipsPharma & HealthcareConsumer DurablesAgri-InputsBuilding MaterialsService NetworksWarehousing & 3PLFinancial AccountingERP SoftwareIndia GST ComplianceUAE VAT & e-InvoicingSaudi ZATCA & VATAll solutions →
RESOURCES
Knowledge CenterDeveloper & CLIBlogGuidesWhat is xMatix?Company facts
COMPANY
AboutCareersPartnersEventsContactAuthorsLegal
Sign in Request demo
Home/Docs/Entity Reference/Requisition — entity reference
REFERENCE · Last reviewed

Requisition — entity reference

An internal request to obtain stock, sitting one step upstream of the PurchaseOrder. BranchId is the branch raising the request and receiving the goods; FromBranchId is the supplying branch used by the transfer route. It can be satisfied two different ways, and both draw down the same line-level PendingQuantity: PerformReleaseOrder and SelectiveReleaseOrder create a PurchaseOrder from its lines, while PerformReleaseTransfer and SelectiveReleaseTransfer create an internal stock Transfer instead. On insert the document date is stamped, a purchase-type price list is defaulted and header taxes are applied; after that nothing in the code advances Status, so judge progress from TotalQuantityPending or the line counters.

Fields

FieldLabelTypeRequiredWhat it does
BranchIdBranchLookup → Branch
CreatedByIdCreated ByLookup → UserAccountYes
CreatedDateTimeCreated DateDateAndTime
DescriptionDescriptionText
DivisionDivisionPickList
DocumentDateDocument DateDate
DocumentNumberDocumentNumberNumber
ExternalIdExternalExternalId
FromBranchIdFrom BranchLookup → Branch
IdIdGuidYes
IsOrderReleasedOrder ReleasedBooleanDeclared as an order-released marker but never assigned anywhere in the procurement code, so it stays at its default. Use RequisitionLine.PurchaseOrderQuantity, or the header roll-up TotalQuantityPending, to tell whether a purchase order has been raised.
LastModifiedByLast Modified ByLookupYesMetadata-only field with no counterpart in the platform: the Requisition domain type and the schema created by the platform migration have no LastModifiedBy column. The audited modifier is ModifiedById.
ModifiedByIdModified ByLookup → UserAccountYes
NameDocument NumberText, unique
OwnerIdOwnerLookup → UserAccountYes
PartnerAccountIdPartner AccountLookup → Account
PerformReleaseOrderPerform Release OrderBooleanYesA stored boolean, not a trigger. Releasing to a purchase order happens by invoking the PerformReleaseOrder server action; nothing in the platform reads this field.
PriceAsOnDatePrice As On DateDate
PriceListIdPrice ListLookup → PriceList
PurchaseOrderIdPurchase OrderLookup → PurchaseOrderHeader link to a purchase order. The link that release actually maintains is the reverse one on each generated purchase order line (PurchaseRequisitionId and RequisitionLineId), and it is that reverse link the PurchaseOrderQuantity roll-up is computed from.
PurchaseOrderLineIdPurchase Order LineLookup → PurchaseOrderLine
RecordTypeIdRecord TypeGuid, hidden
RemarksRemarksText
RequestedByIdRequested ByLookup
RequiredDateRequired DateDate
ResourceIdResourceLookup → Resource
StatusStatusPickListValues: Draft, Confirmed.
SupplierAccountIdSupplier AccountLookup → Account
Tax1Tax 1Currency
Tax1NameTax Name 1Text
Tax1RateTax Rate 1Currency
Tax1TypeTax Type 1Text
TaxGroupIdTax GroupLookup → TaxGroup
TaxIdTaxLookup → Tax
TaxSupplyTypeTax Supply TypePickListValues: Within State, Outside State, Exempt, Exports, SEZ.
TotalAmountTotal AmountCalculated (calculated)Calculated roll-up of RequisitionLine.Amount, which is itself just Quantity times UnitCost — so this is an estimated value at cost, with no discount or tax component.
TotalLineTaxAmountTotal Line Tax AmountCalculated (calculated)
TotalQuantityPendingTotal Quantity PendingCalculated (calculated)
UIPropsUI PropsText
UpdatedDateTimeModified DateDateAndTimeYes

Actions

ActionLabelTypeWhat it does
ApplyPackageConfigurationApplyPackageConfigurationServerAction (ApplyPackageConfiguration)ApplyPackageConfiguration
BulkDeleteDeleteDeleteDelete in Selected
CloneCloneServerAction (Clone)Create a copy of this record
DeleteDeleteDeleteDelete
DeleteInListDeleteDeleteDelete
EditEditEditEDIT
EditInLineEditEditInlineEdit in line
EditInListEditEditInlineEdit
EditListRowEditEditedit list row
GetConfigurableItemsGetConfigurableItemsServerAction (GetConfigurableItems)GetConfigurableItems
GetPackageConfigurationGetPackageConfigurationServerAction (GetPackageConfiguration)GetPackageConfiguration
NewNewNewNew
PerformReleaseOrderRelease OrderServerActionThis action is used to make purchase order
PerformReleaseTransferRelease TransferServerAction (PerformReleaseTransfer)Perform Release Transfer
ProductConfiguratorProduct ConfiguratorUIActionProductConfigurator
SelectiveReleaseOrderSelective Release OrderServerAction (SelectiveReleaseOrder)SelectiveReleaseOrder
SelectiveReleaseTransferSelective Release TransferServerAction (SelectiveReleaseTransfer)SelectiveReleaseTransfer

Validations

ValidationApplies toError messageNotes
Required Date Rule ValidationRequiredDate, ErrorRequired By Date Should not be BackdatedPrevents backdated required-by date
XM_ValidateOnInactiveBranchBranchId, Errorplease tag active Branch!please tag active Branch!
XM_ValidateOnInactivePartnerAccountPartnerAccountId, ErrorPlease tag active Partner Account!Please tag active Partner Account!
XM_ValidateOnInactiveSupplierAccountErrorplease tag active supplier account!please tag active supplier account!

Lookup filters

FilterLookup fieldNotes
Branch For Partner AccountBranchId
Only Partner AccountPartnerAccountId
Only SupplierSupplierAccountId
Supplier Account From BranchFromBranchId (inactive)Supplier Account From Branch