Using custom or low level variables in OMR [Information]

Modified on Thu, 02 Jun 2022 at 10:11 AM

In case you need to use a custom field, source data, or an unmapped Service Code (not included in Service Code mappings), you must refer to the low level variables and use expressions instead.

You could target the Order data (techSHIP's order object) or WMS data (raw WMS data).

An example of order data, for an unmapped service, instead of the dropdown option Service Code (bound to the Service Code Mappings translated one), you will need to use @([Order.OriginalWmsServiceCode]) which obtains the original WMS Service Code value from the Order.

An example for WMS data, would be reading WMS custom fields. There won't be options from the dropdown to use, but you could use expressions, such as @([WmsData.WmsCustomField3]) if you are referencing WmsCustomField3.



WMS DATA


This set of data is not supported for all WMS connections, and is volatile (could be updated with time).

Considering that, a list will not be provided here, but the methods to obtain that information instead.


The syntax is:


@([WmsData.FieldName])


For example, to check an order's value passing the MyWMSCustomField1 


@([WmsData.MyWMSCustomField1])


If you are in control of your WMS system, you can verify the name of these variables on your end.

If you are on techSHIP's end, techSHIP support can review the variables through Admin access/tab.



WARNING: The objects and variables are case sensitive. Be VERY careful when writing the names down. 



ORDER DATA


This set of data refers to the object that techSHIP creates to store your order data in techSHIP.

Considering that, the list of possible fields, and examples are provided below:


The syntax is:


@([Order.FieldName])


For example, to check if an order is coming through with the oversize flag


@([Order.Oversize])


The available list, not limited to these specific field is the following:


  • AdditionalHandlingIndicator
  • AdditionalPriceRequest
  • AdditionalPriceResponse
  • AdditionalWmsDataJson
  • AddressValidated
  • Addresses
  • AgeVerification
  • AirwayBillNumber
  • AppointmentDelivery
  • Batch
  • BatchId
  • BatchNumber
  • Batteries
  • BillToAddress1
  • BillToAddress2
  • BillToAddress3
  • BillToCity
  • BillToCompany
  • BillToCountry
  • BillToEmail
  • BillToEoriNumber
  • BillToIossNumber
  • BillToName
  • BillToPhone
  • BillToState
  • BillToVatNumber
  • BillToZip
  • BillingAccount
  • BillingAccountClient
  • BillingAccountClientId
  • BillingAccountId
  • BookingConfirmationNumber
  • CODCurrencyCode
  • CallbackStatus
  • Carrier
  • CarrierId
  • ChargeStatus
  • City
  • Client
  • ClientId
  • CollectOnDeliveryAmount
  • CollectOnDeliveryIncludeShipping
  • CollectOnDeliveryMethod
  • CollectOnPickup
  • CommercialInvoiceComments
  • CommercialInvoiceDeclarationStatement
  • CommercialInvoicePaymentTerms
  • CommercialInvoiceShippingCharge
  • CommercialInvoiceVATCharge
  • ConsequentialLoss
  • ContentsDescription
  • Country
  • CreatedBy
  • CreatedOn
  • CrossBorderFee
  • CurrencyCode
  • CustomFieldsData
  • CustomerNumber
  • CustomerOrder
  • CustomerPO
  • CustomerSKU
  • CustomsInbondFreight
  • DCNumber
  • DGISShipmentKey
  • DangerousGoods
  • DangerousGoodsCategory
  • DangerousGoodsHeader
  • DangerousGoodsMode
  • DangerousGoodsNumber
  • DeclarationStatement
  • DeclaredValue
  • DeclaredValueCurrencyCode
  • DeclaredValueType
  • DeliverBeforeDate
  • DeliveryOptions
  • Department
  • DockAtDelivery
  • DocumentsOnly
  • DropOffType
  • DropoffAtUPSFacilityIndicator
  • DryIce
  • Dutiable
  • DutyBillingAccount
  • DutyBillingCountryCode
  • DutyBillingPostal
  • DutyCurrencyCode
  • DutyPaymentTerms
  • DutyPaymentType
  • ElapsedCarrierApiTimePrice
  • ElapsedCarrierApiTimeProcess
  • ElapsedCarrierApiTimeRateShop
  • ElapsedCarrierApiTimeVoid
  • EoriNumber
  • ExWorksDelivery
  • ExchangeForwardIndicator
  • ExporterAddress1
  • ExporterAddress2
  • ExporterAddress3
  • ExporterCity
  • ExporterCompany
  • ExporterCountry
  • ExporterEmail
  • ExporterEoriNumber
  • ExporterName
  • ExporterPhone
  • ExporterState
  • ExporterVatNumber
  • ExporterZip
  • FCC740Indicator
  • FDA2877Indicator
  • FedexDangerousGoods
  • FeeMarkup
  • Food
  • Fragile
  • FreightClass
  • FreightNMFCClass
  • FreightPaymentTerms
  • FreightPricing
  • FuelSurcharge
  • HasBillToAddress
  • HasExporterAddress
  • HasImporterAddress
  • HasShipFromAddress
  • HasShipperAddress
  • HoldAtLocation
  • HoldForPickupIndicator
  • HomelandSecurity
  • Id
  • ImportAsRateShop
  • ImporterAddress1
  • ImporterAddress2
  • ImporterAddress3
  • ImporterCity
  • ImporterCompany
  • ImporterCountry
  • ImporterEmail
  • ImporterEoriNumber
  • ImporterName
  • ImporterPhone
  • ImporterState
  • ImporterVatNumber
  • ImporterZip
  • InductionPoint
  • InductionPointId
  • InsideDelivery
  • InsidePickup
  • Instruction
  • Insurance
  • InsuranceProvider
  • InvoiceDate
  • InvoiceNumber
  • InvoiceTotalGrossWeight
  • InvoiceTotalNetWeight
  • IsDeleted
  • IsDutiable
  • IsFba
  • ItnNumber
  • KeepFrozen
  • LargeCustomLabel
  • LargePackageIndicator
  • LiftGateForDeliveryIndicator
  • LiftGateForPickUpIndicator
  • LimitedAccess
  • LoadNumber
  • MAWBNumber
  • MailingTube
  • ManifestId
  • ManifestStatus
  • MapperCallbackStatus
  • MergedOrderIds
  • MergedParentOrderId
  • MilitaryBaseDelivery
  • ModifyBy
  • ModifyOn
  • NaftaIndicator
  • NoTracking
  • OffHourDelivery
  • OffHourPickup
  • OrderType
  • OriginSignatureNotRequired
  • OriginalCarrier
  • OriginalCarrierId
  • OriginalServiceCode
  • OriginalWmsServiceCode
  • Oversize
  • PackageType
  • PackageTypeCode
  • Paperless
  • Perishable: false
  • PickOrder
  • PidNumber
  • PigeonQuotationId
  • PortalId: 336
  • PostOfficeId
  • PremiumService
  • PrintReturnLabels
  • PrintStatus
  • ProNumber
  • ProcessedBy
  • ProcessedOn
  • ProcessingBag
  • ProcessingErrors
  • ProofOfAge
  • ProofOfAge18
  • ProofOfAge19
  • ProtectionFromFreezing
  • PurchaseOrderNumber
  • RateShoppingGroup 

    NOTE
    : This field is visible only when it has an assigned value (won't be visible if null), and is only visible through the Admin tab by techSHIP support


  • ReasonForExport
  • ReasonForExportFreeForm
  • ReceiverTaxNumber
  • Residential
  • ReturnServiceCode
  • ReturnServiceCodeDescription
  • SKU
  • SafePlace
  • SaturdayDelivery
  • SaturdayPickup
  • SdlShipmentIndicator
  • SelectedServiceCode
  • SenderEoriNumber
  • SenderIossNumber
  • SenderVatNumber
  • Sequence
  • ServiceCode
  • ServiceCodeDescription
  • ServiceCodes
  • ShipDate
  • ShipFromAddress1
  • ShipFromAddress2
  • ShipFromAddress3
  • ShipFromCity
  • ShipFromCompany
  • ShipFromCountry
  • ShipFromEmail
  • ShipFromName
  • ShipFromPhone
  • ShipFromState
  • ShipFromZip
  • ShipToAddress1
  • ShipToAddress2
  • ShipToAddress3
  • ShipToCompany
  • ShipToDistrict
  • ShipToEmail
  • ShipToName
  • ShipToPhone
  • ShipmentIndicationType
  • ShipmentLabelType
  • Shipments
  • ShipperAddress1
  • ShipperAddress2
  • ShipperAddress3
  • ShipperCity
  • ShipperCompany
  • ShipperCountry
  • ShipperEmail
  • ShipperName
  • ShipperPhone
  • ShipperRelease
  • ShipperState
  • ShipperZip
  • ShippingCharge
  • ShippingChargeError
  • ShippingChargeTotal
  • ShippingServiceOfferId
  • ShippingServiceOfferIdStored
  • SignatureAdult
  • SignatureIndirect
  • SignatureRequired
  • SkipAddressValidation
  • SpecialHandling
  • Stackable
  • State
  • Status
  • Tax1Amount
  • Tax1Type
  • Tax2Amount
  • Tax2Type
  • Tax3Amount
  • Tax3Type
  • TempFrom
  • TempTo
  • TempType
  • Terms
  • TermsOfTrade
  • ThirdPartyBillingAccount
  • ThirdPartyBillingCountryCode
  • ThirdPartyBillingPostal
  • TracingEnabled
  • TrackingNumber
  • Tyres
  • Unpackaged
  • UpsDGSignatoryInfo
  • VatNumber
  • VehicleId
  • Volume
  • Zip
  • ZoneSkippingAccountId


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us how can we improve this article!

Select atleast one of the reasons

Feedback sent

We apprciate your effort and will try to fix the article