Using Epicor REST API to create a salesOrder

I’m trying to POST an order from a CRM shopping website but keeping getting this error of card-processor. I’m using the “Erp.BO.SalesOrderSvc” service to create the order

{
    "HttpStatus": 400,
    "ReasonPhrase": "REST API Exception",
    "ErrorMessage": "Currency USD does not have a Credit Card Processor assigned.",
    "ErrorType": "Ice.BLException",
    "ErrorDetails": [
        {
            "Message": "Currency USD does not have a Credit Card Processor assigned.",
            "Type": "Error",
            "Program": "Erp.Services.BO.SalesOrder.dll",
            "Method": "OnChangeCreditCardOrder",
            "ColumnNumber": 21,
            "LineNumber": 19591
        }
    ],
    "CorrelationId": "134abb68-12c8-4f5b-972b-ede15859a236"
}

We’d need to see your Payload to help

Looks like you need to set the credit card processing here.

@josecgomez here it is.

{
  "OpenOrder": true,
  "VoidOrder": true,
  "Company": "200",
  "OrderNum": 0,
  "CustNum": 127,
  "PONum": "50089",
  "OrderHeld": false,
  "EntryPerson": "Willette_R",
  "ShipToNum": "",
  "RequestDate": "2022-08-20T14:29:49.920Z",
  "OrderDate": "2022-08-20T14:29:49.920Z",
  "FOB": "SHIPPING POINT",
  "ShipViaCode": "UPS1",
  "TermsCode": "N30C",
  "DiscountPercent": 0,
  "PrcConNum": 0,
  "ShpConNum": 0,
  "SalesRepList": "string",
  "OrderComment": "string",
  "ShipComment": "string",
  "InvoiceComment": "string",
  "PickListComment": "string",
  "DepositBal": 0,
  "DocDepositBal": 0,
  "NeedByDate": "2022-08-20T14:29:49.920Z",
  "CreditOverride": true,
  "CreditOverrideUserID": "string",
  "CreditOverrideDate": "2022-08-20T14:29:49.920Z",
  "CreditOverrideTime": "string",
  "CreditOverrideLimit": 0,
  "SndAlrtShp": true,
  "ExchangeRate": 1,
  "CurrencyCode": "USD",
  "LockRate": false,
  "CardMemberName": "Laurits Enyinnaya",
  "CardNumber": "111111111111111",
  "CardType": "Mastercard",
  "ExpirationMonth": 11,
  "ExpirationYear": 2030,
  "CardID": "87",
  "CardmemberReference": "Mastercard",
  "AllocPriorityCode": "Mastercard",
  "ReservePriorityCode": "Mastercard",
  "ShipOrderComplete": true,
  "WebOrder": true,
  "CCApprovalNum": "string",
  "EDIOrder": true,
  "EDIAck": true,
  "Linked": true,
  "ICPONum": 0,
  "ExtCompany": "string",
  "WebEntryPerson": "string",
  "AckEmailSent": true,
  "ApplyOrderBasedDisc": true,
  "AutoOrderBasedDisc": true,
  "EntryMethod": "string",
  "HDCaseNum": 0,
  "CounterSale": true,
  "CreateInvoice": true,
  "CreatePackingSlip": true,
  "LockQty": true,
  "ProcessCard": "ancorp",
  "CCAmount": 377.860,
  "CCFreight": 0,
  "CCTax": 0,
  "CCTotal": 377.860,
  "CCDocAmount": 377.860,
  "CCDocFreight": 0,
  "CCDocTax": 0,
  "CCDocTotal": 0,
  "CCStreetAddr": "string",
  "CCZip": "string",
  "BTCustNum": 0,
  "BTConNum": 0,
  "RepRate4": 0,
  "RepRate5": 0,
  "RepSplit1": 0,
  "RepSplit2": 0,
  "RepSplit3": 0,
  "RepSplit4": 0,
  "RepSplit5": 0,
  "RepRate1": 0,
  "RepRate2": 0,
  "RepRate3": 0,
  "OutboundSalesDocCtr": 0,
  "OutboundShipDocsCtr": 0,
  "DemandContractNum": 0,
  "DoNotShipBeforeDate": "2022-08-20T14:29:49.920Z",
  "ResDelivery": true,
  "DoNotShipAfterDate": "2022-08-20T14:29:49.920Z",
  "SatDelivery": true,
  "SatPickup": true,
  "Hazmat": true,
  "DocOnly": true,
  "RefNotes": "string",
  "ApplyChrg": true,
  "ChrgAmount": 0,
  "COD": true,
  "CODFreight": true,
  "CODCheck": true,
  "CODAmount": 0,
  "GroundType": "string",
  "NotifyFlag": true,
  "NotifyEMail": "string",
  "DeclaredIns": true,
  "DeclaredAmt": 0,
  "CancelAfterDate": "2022-08-20T14:29:49.920Z",
  "DemandRejected": true,
  "OverrideCarrier": true,
  "OverrideService": true,
  "CreditCardOrder": true,
  "DemandHeadSeq": 0,
  "PayFlag": "string",
  "PayAccount": "string",
  "PayBTAddress1": "string",
  "PayBTAddress2": "string",
  "PayBTCity": "string",
  "PayBTState": "string",
  "PayBTZip": "string",
  "PayBTCountry": "string",
  "DropShip": true,
  "CommercialInvoice": true,
  "ShipExprtDeclartn": true,
  "CertOfOrigin": true,
  "LetterOfInstr": true,
  "FFID": "string",
  "FFAddress1": "string",
  "FFAddress2": "string",
  "FFCity": "string",
  "FFState": "string",
  "FFZip": "string",
  "FFCountry": "string",
  "FFContact": "string",
  "FFCompName": "string",
  "FFPhoneNum": "string",
  "IntrntlShip": true,
  "ChangedBy": "string",
  "ChangeDate": "2022-08-20T14:29:49.920Z",
  "ChangeTime": 0,
  "AutoPrintReady": true,
  "EDIReady": true,
  "IndividualPackIDs": true,
  "FFAddress3": "string",
  "DeliveryConf": 0,
  "AddlHdlgFlag": true,
  "NonStdPkg": true,
  "ServSignature": true,
  "ServAlert": true,
  "ServHomeDel": true,
  "DeliveryType": "string",
  "ServDeliveryDate": "2022-08-20T14:29:49.920Z",
  "ServInstruct": "string",
  "ServRef1": "string",
  "ServRef2": "string",
  "ServRef3": "string",
  "ServRef4": "string",
  "ServRef5": "string",
  "FFCountryNum": 0,
  "ServPhone": "string",
  "ServRelease": true,
  "ServAuthNum": "string",
  "PayBTAddress3": "string",
  "PayBTCountryNum": 0,
  "PayBTPhone": "string",
  "UPSQuantumView": true,
  "UPSQVShipFromName": "string",
  "UPSQVMemo": "string",
  "ReadyToCalc": true,
  "TotalCharges": 0,
  "TotalMisc": 0,
  "TotalDiscount": 0,
  "TotalComm": 0,
  "TotalAdvBill": 0,
  "TotalLines": 0,
  "TotalReleases": 0,
  "TotalRelDates": 0,
  "DocTotalCharges": 0,
  "DocTotalMisc": 0,
  "DocTotalDiscount": 0,
  "DocTotalComm": 0,
  "TotalTax": 0,
  "DocTotalTax": 0,
  "DocTotalAdvBill": 0,
  "TotalShipped": 0,
  "TotalInvoiced": 0,
  "TotalCommLines": 0,
  "SRCommAmt1": 0,
  "SRCommAmt2": 0,
  "SRCommAmt3": 0,
  "SRCommAmt4": 0,
  "SRCommAmt5": 0,
  "SRCommableAmt1": 0,
  "SRCommableAmt2": 0,
  "SRCommableAmt3": 0,
  "SRCommableAmt4": 0,
  "SRCommableAmt5": 0,
  "Rounding": 0,
  "Rpt1DepositBal": 0,
  "DocRounding": 0,
  "Rpt2DepositBal": 0,
  "Rpt3DepositBal": 0,
  "Rpt1TotalCharges": 0,
  "Rpt2TotalCharges": 0,
  "Rpt3TotalCharges": 0,
  "Rpt1TotalAdvBill": 0,
  "Rpt2TotalAdvBill": 0,
  "Rpt3TotalAdvBill": 0,
  "Rpt1TotalMisc": 0,
  "Rpt2TotalMisc": 0,
  "Rpt3TotalMisc": 0,
  "Rpt1TotalDiscount": 0,
  "Rpt2TotalDiscount": 0,
  "Rpt3TotalDiscount": 0,
  "Rpt1TotalComm": 0,
  "Rpt2TotalComm": 0,
  "Rpt3TotalComm": 0,
  "Rpt1TotalTax": 0,
  "Rpt2TotalTax": 0,
  "Rpt1Rounding": 0,
  "Rpt2Rounding": 0,
  "Rpt3Rounding": 0,
  "RateGrpCode": "string",
  "Rpt3TotalTax": 0,
  "Rpt1CCAmount": 0,
  "Rpt2CCAmount": 0,
  "Rpt3CCAmount": 0,
  "Rpt1CCFreight": 0,
  "Rpt2CCFreight": 0,
  "Rpt3CCFreight": 0,
  "Rpt1CCTax": 0,
  "Rpt2CCTax": 0,
  "Rpt3CCTax": 0,
  "Rpt1CCTotal": 0,
  "Rpt2CCTotal": 0,
  "Rpt3CCTotal": 0,
  "OrderAmt": 0,
  "DocOrderAmt": 0,
  "Rpt1OrderAmt": 0,
  "Rpt2OrderAmt": 0,
  "Rpt3OrderAmt": 0,
  "TaxPoint": "2022-08-20T14:29:49.921Z",
  "TaxRateDate": "2022-08-20T14:29:49.921Z",
  "TaxRegionCode": "string",
  "UseOTS": true,
  "OTSName": "string",
  "OTSAddress1": "string",
  "OTSAddress2": "string",
  "OTSAddress3": "string",
  "OTSCity": "string",
  "OTSState": "string",
  "OTSZIP": "string",
  "OTSResaleID": "string",
  "OTSContact": "string",
  "OTSFaxNum": "string",
  "OTSPhoneNum": "string",
  "OTSCountryNum": 0,
  "TotalWHTax": 0,
  "DocTotalWHTax": 0,
  "Rpt1TotalWHTax": 0,
  "Rpt2TotalWHTax": 0,
  "Rpt3TotalWHTax": 0,
  "TotalSATax": 0,
  "DocTotalSATax": 0,
  "Rpt1TotalSATax": 0,
  "Rpt2TotalSATax": 0,
  "Rpt3TotalSATax": 0,
  "OTSSaveAs": "string",
  "OTSSaveCustID": "string",
  "OTSCustSaved": true,
  "ShipToCustNum": 0,
  "OrderStatus": "string",
  "HoldSetByDemand": true,
  "InPrice": true,
  "InTotalCharges": 0,
  "InTotalMisc": 0,
  "InTotalDiscount": 0,
  "DocInTotalCharges": 0,
  "DocInTotalMisc": 0,
  "DocInTotalDiscount": 0,
  "Rpt1InTotalCharges": 0,
  "Rpt2InTotalCharges": 0,
  "Rpt3InTotalCharges": 0,
  "Rpt1InTotalMisc": 0,
  "Rpt2InTotalMisc": 0,
  "Rpt3InTotalMisc": 0,
  "Rpt1InTotalDiscount": 0,
  "Rpt2InTotalDiscount": 0,
  "Rpt3InTotalDiscount": 0,
  "ARLOCID": "string",
  "OurBank": "string",
  "ERSOrder": true,
  "LOCHold": true,
  "PSCurrCode": "string",
  "InvCurrCode": "string",
  "LegalNumber": "string",
  "TranDocTypeID": "string",
  "XRefContractNum": "string",
  "XRefContractDate": "2022-08-20T14:29:49.921Z",
  "DemandProcessDate": "2022-08-20T14:29:49.921Z",
  "DemandProcessTime": 0,
  "LastScheduleNumber": "string",
  "LastTCtrlNum": "string",
  "LastBatchNum": "string",
  "ECCOrderNum": "string",
  "ECCPONum": "string",
  "WIOrder": "string",
  "WIApplication": "string",
  "WIUsername": "string",
  "WIUserID": "string",
  "WICreditCardorder": true,
  "OrderCSR": "string",
  "UserChar1": "string",
  "UserChar2": "string",
  "UserChar3": "string",
  "UserChar4": "string",
  "UserDate1": "2022-08-20T14:29:49.921Z",
  "UserDate2": "2022-08-20T14:29:49.921Z",
  "UserDate3": "2022-08-20T14:29:49.921Z",
  "UserDate4": "2022-08-20T14:29:49.921Z",
  "UserDecimal1": 0,
  "UserDecimal2": 0,
  "UserInteger1": 0,
  "UserInteger2": 0,
  "SysRevID": 0,
  "SysRowID": "00000000-0000-0000-0000-000000000000",
  "IsCSRSet": true,
  "ECCPaymentMethod": "string",
  "AGUseGoodDefaultMark": true,
  "OTSShipToNum": "string",
  "ProFormaInvComment": "string",
  "ccToken": "string",
  "InvcOrderCmp": true,
  "ReprintSOAck": true,
  "CounterSOAck": 0,
  "DispatchReason": "string",
  "Plant": "string",
  "ReadyToFulfill": true,
  "ShipByTime": 0,
  "TWFiscalYear": 0,
  "TWFiscalYearSuffix": "string",
  "TWFiscalPeriod": 0,
  "TWGUIGroup": "string",
  "TWGUIRegNumSeller": "string",
  "TWGUIRegNumBuyer": "string",
  "OrderOpenCredit": 0,
  "ClosedNotShipped": 0,
  "InvCurrDepositBal": 0,
  "PLArticle106c": true,
  "PLInvIssuedByTaxpayer": true,
  "PLInvIssuedBySecondTaxpayer": true,
  "PLTouristService": true,
  "PLSecondHandOrArts": true,
  "PLLegalArticleAct": "string",
  "PLLegalArticleWEDirective": "string",
  "PLLegalArticleOther": "string",
  "PLEnforcementAuthName": "string",
  "PLEnforcementAuthAddr": "string",
  "PLTaxRepresentativeName": "string",
  "PLTaxRepresentativeAddr": "string",
  "PLTaxRepresentativeTaxID": "string",
  "PLMarginScheme": 0,
  "PLGoodsOrServiceVATExempt": true,
  "CCCity": "string",
  "CCState": "string",
  "ExtAOEUserID": "string",
  "ExtAOE": "string",
  "AvailBTCustList": "string",
  "AVSAddr": "string",
  "AVSZip": "string",
  "BaseCurrencyID": "USD",
  "BaseCurrSymbol": "$",
  "BillToCustomerName": "string",
  "BTAddressList": "American ULT Cryogenics,LLC d/b/a JanisULT~225 WILDWOOD AVENUE~WOBURN MA 01801-2025~USA",
  "BTContactEMailAddress": "string",
  "BTContactFaxNum": "string",
  "BTContactName": "string",
  "BTContactPhoneNum": "string",
  "BTCustID": "string",
  "CanChangeTaxLiab": true,
  "CardStore": "string",
  "CCCSCID": "string",
  "CCCSCIDToken": "string",
  "CCIsTraining": true,
  "CCResponse": "string",
  "CCRounding": 0,
  "CCTranID": "string",
  "CCTranType": "string",
  "CSCResult": "string",
  "CurrencySwitch": true,
  "CustAllowOTS": true,
  "CustomerPrintAck": true,
  "CustomerRequiresPO": true,
  "CustOnCreditHold": true,
  "CustTradePartnerName": "string",
  "DemandContract": "string",
  "DocCCRounding": 0,
  "DocTotalNet": 0,
  "DocTotalOrder": 0,
  "dspBTCustID": "string",
  "ECCEmail": "string",
  "ECCPaymentDesc": "string",
  "EnableCreditCard": true,
  "EnableJobWizard": true,
  "EnableSoldToID": true,
  "EntryProcess": "string",
  "ERSOverride": true,
  "HasMiscCharges": true,
  "HasOrderLines": true,
  "IntExternalKey": "string",
  "LinkMsg": "string",
  "NoTaxRgnChange": true,
  "OTSSaved": true,
  "OTSTaxRegionCode": "string",
  "ParentCustNum": 0,
  "ProposedTaxRgn": "string",
  "ReferencePNRef": "string",
  "ResetBTCustAddr": true,
  "ResetRelTaxRgn": true,
  "Rpt1CCRounding": 0,
  "Rpt1TotalNet": 0,
  "Rpt2CCRounding": 0,
  "Rpt2TotalNet": 0,
  "Rpt3CCRounding": 0,
  "Rpt3TotalNet": 0,
  "SalesRepCode1": "string",
  "SalesRepCode2": "string",
  "SalesRepCode3": "string",
  "SalesRepCode4": "string",
  "SalesRepCode5": "string",
  "SalesRepName1": "string",
  "SalesRepName2": "string",
  "SalesRepName3": "string",
  "SalesRepName4": "string",
  "SalesRepName5": "string",
  "ShipToAddressList": "string",
  "ShipToContactEMailAddress": "string",
  "ShipToContactFaxNum": "string",
  "ShipToContactName": "string",
  "ShipToContactPhoneNum": "string",
  "ShipToCustId": "string",
  "ShowApplyOrderDiscountsControl": true,
  "SoldToAddressList": "string",
  "SoldToContactEMailAddress": "string",
  "SoldToContactFaxNum": "string",
  "SoldToContactName": "string",
  "SoldToContactPhoneNum": "string",
  "TermsType": "string",
  "TotalNet": 0,
  "TotalOrder": 0,
  "TranDocTypeDescr": "string",
  "TrueDiscountPercent": 0,
  "TWGenerationType": "string",
  "UpdateDtlAndRelRecords": true,
  "InvoicesExist": true,
  "BTAddressFormatted": "string",
  "ShipToAddressFormatted": "string",
  "SoldToAddressFormatted": "string",
  "TranDate": "2022-08-20T14:29:49.921Z",
  "TranNum": 0,
  "TranTime": 0,
  "OrderRelNeedByDateNotNull": true,
  "InactiveCustomer": true,
  "BitFlag": 0,
  "BTCustNumCustID": "string",
  "BTCustNumName": "string",
  "BTCustNumBTName": "string",
  "CardTypeDescription": "string",
  "CurrencyCodeCurrName": "string",
  "CurrencyCodeCurrSymbol": "string",
  "CurrencyCodeDocumentDesc": "string",
  "CurrencyCodeCurrencyID": "string",
  "CurrencyCodeCurrDesc": "string",
  "CustomerBTName": "string",
  "CustomerCustID": "string",
  "CustomerName": "string",
  "CustomerAllowShipTo3": true,
  "FOBDescription": "string",
  "HDCaseDescription": "string",
  "InvCurrCurrDesc": "string",
  "OTSCntryDescription": "string",
  "OurBankDescription": "string",
  "OurBankBankName": "string",
  "PlantName": "string",
  "PSCurrCurrDesc": "string",
  "RateGrpDescription": "string",
  "ReservePriDescription": "string",
  "ShipViaCodeDescription": "string",
  "ShipViaCodeWebDesc": "string",
  "TaxRegionCodeDescription": "string",
  "TermsCodeDescription": "string",
  "RowMod": "string",
  "OHOrderMscs": [
    {
      "Company": "string",
      "OrderNum": 0,
      "OrderLine": 0,
      "SeqNum": 0,
      "MiscCode": "string",
      "Description": "string",
      "MiscAmt": 0,
      "DocMiscAmt": 0,
      "FreqCode": "string",
      "Quoting": "string",
      "Linked": true,
      "ICPONum": 0,
      "ICPOLine": 0,
      "ICPOSeqNum": 0,
      "ExtCompany": "string",
      "ChangedBy": "string",
      "ChangeDate": "2022-08-20T14:29:49.921Z",
      "ChangeTime": 0,
      "Rpt1MiscAmt": 0,
      "Rpt2MiscAmt": 0,
      "Rpt3MiscAmt": 0,
      "InMiscAmt": 0,
      "DocInMiscAmt": 0,
      "Rpt1InMiscAmt": 0,
      "Rpt2InMiscAmt": 0,
      "Rpt3InMiscAmt": 0,
      "Percentage": 0,
      "Type": "string",
      "ChangeTrackApproved": true,
      "ChangeTrackAmount": 0,
      "ChangeTrackMemoDesc": "string",
      "ChangeTrackMemoText": "string",
      "ChangeTrackStatus": "string",
      "SysRevID": 0,
      "SysRowID": "00000000-0000-0000-0000-000000000000",
      "BaseCurrSymbol": "string",
      "CurrencyCode": "string",
      "CurrencySwitch": true,
      "CurrSymbol": "string",
      "DocDspMiscAmt": 0,
      "DspMiscAmt": 0,
      "EntryProcess": "string",
      "Rpt1DspMiscAmt": 0,
      "Rpt2DspMiscAmt": 0,
      "Rpt3DspMiscAmt": 0,
      "RespMessage": "string",
      "BitFlag": 0,
      "MiscCodeDescription": "string",
      "OrderNumCardMemberName": "string",
      "OrderNumCurrencyCode": "string",
      "RowMod": "string"
    }
  ],
  "OrderDtls": [
    {
      "VoidLine": true,
      "OpenLine": true,
      "Company": "string",
      "OrderNum": 0,
      "OrderLine": 0,
      "LineType": "string",
      "PartNum": "string",
      "LineDesc": "string",
      "Reference": "string",
      "IUM": "string",
      "RevisionNum": "string",
      "POLine": "string",
      "Commissionable": true,
      "DiscountPercent": 0,
      "UnitPrice": 0,
      "DocUnitPrice": 0,
      "OrderQty": 0,
      "Discount": 0,
      "DocDiscount": 0,
      "RequestDate": "2022-08-20T14:29:49.922Z",
      "ProdCode": "string",
      "XPartNum": "string",
      "XRevisionNum": "string",
      "PricePerCode": "string",
      "OrderComment": "string",
      "ShipComment": "string",
      "InvoiceComment": "string",
      "PickListComment": "string",
      "TaxCatID": "string",
      "AdvanceBillBal": 0,
      "DocAdvanceBillBal": 0,
      "QuoteNum": 0,
      "QuoteLine": 0,
      "TMBilling": true,
      "OrigWhyNoTax": "string",
      "NeedByDate": "2022-08-20T14:29:49.922Z",
      "CustNum": 0,
      "Rework": true,
      "RMANum": 0,
      "RMALine": 0,
      "ProjectID": "string",
      "ContractNum": 0,
      "ContractCode": "string",
      "BasePartNum": "string",
      "Warranty": true,
      "WarrantyCode": "string",
      "MaterialDuration": 0,
      "LaborDuration": 0,
      "MiscDuration": 0,
      "MaterialMod": "string",
      "LaborMod": "string",
      "WarrantyComment": "string",
      "Onsite": true,
      "MatCovered": true,
      "LabCovered": true,
      "MiscCovered": true,
      "SalesUM": "string",
      "SellingFactor": 0,
      "SellingQuantity": 0,
      "SalesCatID": "string",
      "ShipLineComplete": true,
      "CumeQty": 0,
      "CumeDate": "2022-08-20T14:29:49.922Z",
      "MktgCampaignID": "string",
      "MktgEvntSeq": 0,
      "LockQty": true,
      "Linked": true,
      "ICPONum": 0,
      "ICPOLine": 0,
      "ExtCompany": "string",
      "LastConfigDate": "2022-08-20T14:29:49.922Z",
      "LastConfigTime": 0,
      "LastConfigUserID": "string",
      "ConfigUnitPrice": 0,
      "ConfigBaseUnitPrice": 0,
      "PriceListCode": "string",
      "BreakListCode": "string",
      "PricingQty": 0,
      "LockPrice": true,
      "ListPrice": 0,
      "DocListPrice": 0,
      "OrdBasedPrice": 0,
      "DocOrdBasedPrice": 0,
      "PriceGroupCode": "string",
      "OverridePriceList": true,
      "BaseRevisionNum": "string",
      "PricingValue": 0,
      "DisplaySeq": 0,
      "KitParentLine": 0,
      "KitAllowUpdate": true,
      "KitShipComplete": true,
      "KitBackFlush": true,
      "KitPrintCompsPS": true,
      "KitPrintCompsInv": true,
      "KitPricing": "string",
      "KitQtyPer": 0,
      "SellingFactorDirection": "string",
      "RepRate1": 0,
      "RepRate2": 0,
      "RepRate3": 0,
      "RepRate4": 0,
      "RepRate5": 0,
      "RepSplit1": 0,
      "RepSplit2": 0,
      "RepSplit3": 0,
      "RepSplit4": 0,
      "RepSplit5": 0,
      "DemandContractLine": 0,
      "CreateNewJob": true,
      "DoNotShipBeforeDate": "2022-08-20T14:29:49.922Z",
      "GetDtls": true,
      "DoNotShipAfterDate": "2022-08-20T14:29:49.922Z",
      "SchedJob": true,
      "RelJob": true,
      "EnableCreateNewJob": true,
      "EnableGetDtls": true,
      "EnableSchedJob": true,
      "EnableRelJob": true,
      "CounterSaleWarehouse": "string",
      "CounterSaleBinNum": "string",
      "CounterSaleLotNum": "string",
      "CounterSaleDimCode": "string",
      "DemandDtlRejected": true,
      "KitFlag": "string",
      "KitsLoaded": true,
      "DemandContractNum": 0,
      "DemandHeadSeq": 0,
      "DemandDtlSeq": 0,
      "ChangedBy": "string",
      "ChangeDate": "2022-08-20T14:29:49.922Z",
      "ChangeTime": 0,
      "ReverseCharge": true,
      "TotalReleases": 0,
      "Rpt1UnitPrice": 0,
      "Rpt2UnitPrice": 0,
      "Rpt3UnitPrice": 0,
      "Rpt1Discount": 0,
      "Rpt2Discount": 0,
      "Rpt3Discount": 0,
      "Rpt1AdvanceBillBal": 0,
      "Rpt2AdvanceBillBal": 0,
      "Rpt3AdvanceBillBal": 0,
      "Rpt1ListPrice": 0,
      "Rpt2ListPrice": 0,
      "Rpt3ListPrice": 0,
      "Rpt1OrdBasedPrice": 0,
      "Rpt2OrdBasedPrice": 0,
      "Rpt3OrdBasedPrice": 0,
      "ExtPriceDtl": 0,
      "DocExtPriceDtl": 0,
      "Rpt1ExtPriceDtl": 0,
      "Rpt2ExtPriceDtl": 0,
      "Rpt3ExtPriceDtl": 0,
      "LineStatus": "string",
      "InUnitPrice": 0,
      "DocInUnitPrice": 0,
      "InDiscount": 0,
      "DocInDiscount": 0,
      "InListPrice": 0,
      "DocInListPrice": 0,
      "InOrdBasedPrice": 0,
      "DocInOrdBasedPrice": 0,
      "Rpt1InUnitPrice": 0,
      "Rpt2InUnitPrice": 0,
      "Rpt3InUnitPrice": 0,
      "Rpt1InDiscount": 0,
      "Rpt2InDiscount": 0,
      "Rpt3InDiscount": 0,
      "Rpt1InListPrice": 0,
      "Rpt2InListPrice": 0,
      "Rpt3InListPrice": 0,
      "Rpt1InOrdBasedPrice": 0,
      "Rpt2InOrdBasedPrice": 0,
      "Rpt3InOrdBasedPrice": 0,
      "InExtPriceDtl": 0,
      "DocInExtPriceDtl": 0,
      "Rpt1InExtPriceDtl": 0,
      "Rpt2InExtPriceDtl": 0,
      "Rpt3InExtPriceDtl": 0,
      "OldOurOpenQty": 0,
      "OldSellingOpenQty": 0,
      "OldOpenValue": 0,
      "OldProdCode": "string",
      "PrevSellQty": 0,
      "PrevPartNum": "string",
      "PrevXPartNum": "string",
      "KitCompOrigSeq": 0,
      "KitCompOrigPart": "string",
      "SmartStringProcessed": true,
      "SmartString": "string",
      "RenewalNbr": 0,
      "DiscBreakListCode": "string",
      "DiscListPrice": 0,
      "LockDisc": true,
      "OverrideDiscPriceList": true,
      "GroupSeq": 0,
      "ECCOrderNum": "string",
      "ECCOrderLine": 0,
      "DupOnJobCrt": true,
      "UndersPct": 0,
      "Overs": 0,
      "Unders": 0,
      "OversUnitPrice": 0,
      "PlanUserID": "string",
      "PlanGUID": "string",
      "MOMsourceType": "string",
      "MOMsourceEst": "string",
      "DefaultOversPricing": "string",
      "ECCPlant": "string",
      "ECCQuoteNum": "string",
      "ECCQuoteLine": 0,
      "SysRevID": 0,
      "SysRowID": "00000000-0000-0000-0000-000000000000",
      "MfgJobType": "string",
      "ProFormaInvComment": "string",
      "CreateJob": true,
      "ContractID": "string",
      "LinkToContract": true,
      "DocInAdvanceBillBal": 0,
      "InAdvanceBillBal": 0,
      "Rpt1InAdvanceBillBal": 0,
      "Rpt2InAdvanceBillBal": 0,
      "Rpt3InAdvanceBillBal": 0,
      "PCLinkRemoved": true,
      "CommodityCode": "string",
      "MSRP": 0,
      "DocMSRP": 0,
      "Rpt1MSRP": 0,
      "Rpt2MSRP": 0,
      "Rpt3MSRP": 0,
      "EndCustomerPrice": 0,
      "DocEndCustomerPrice": 0,
      "Rpt1EndCustomerPrice": 0,
      "Rpt2EndCustomerPrice": 0,
      "Rpt3EndCustomerPrice": 0,
      "PromotionalPrice": 0,
      "DocPromotionalPrice": 0,
      "Rpt1PromotionalPrice": 0,
      "Rpt2PromotionalPrice": 0,
      "Rpt3PromotionalPrice": 0,
      "OrderLineStatusCode": "string",
      "AttributeSetID": 0,
      "AvailableQuantity": 0,
      "AvailPriceLists": "string",
      "AvailUMFromQuote": "string",
      "BaseCurrencyID": "string",
      "BaseCurrSymbol": "string",
      "CalcUnitPrice": 0,
      "ConfigType": "string",
      "Configured": "string",
      "CounterSale": true,
      "CreditLimitMessage": "string",
      "CreditLimitSource": "string",
      "CurrencyCode": "USD",
      "CurrencyID": "USD",
      "CurrencySwitch": true,
      "CurrSymbol": "$",
      "DemandQuantity": 0,
      "DimCode": "string",
      "DimConvFactor": 0,
      "DocDspDiscount": 0,
      "DocDspUnitPrice": 0,
      "DocExtPrice": 0,
      "DocInMiscCharges": 0,
      "DocLessDiscount": 0,
      "DocMiscCharges": 0,
      "DocTaxAmt": 0,
      "DocTotalPrice": 0,
      "DspDiscount": 0,
      "DspJobType": "string",
      "DspUnitPrice": 0,
      "DUM": "string",
      "ECCConfigSysRowId": "00000000-0000-0000-0000-000000000000",
      "ECCDiscount": 0,
      "ECCPreventRepricing": true,
      "EnableDynAttrButton": true,
      "EnableKitUnitPrice": true,
      "EnableRenewalNbr": true,
      "EnableSellingQty": true,
      "EntryProcess": "string",
      "ExtPrice": 0,
      "FromQuoteLineFlag": true,
      "FSAInstallationCost": 0,
      "FSAInstallationOrderLine": 0,
      "FSAInstallationOrderNum": 0,
      "FSAInstallationRequired": true,
      "FSAInstallationType": "string",
      "FSAInstallationTypeDescription": "string",
      "HasComplement": true,
      "HasDowngrade": true,
      "HasSubstitute": true,
      "HasUpgrade": true,
      "InMiscCharges": 0,
      "InPrice": true,
      "IntExternalKey": "string",
      "InvtyUOM": "string",
      "JobTypeDesc": "string",
      "JobWasCreated": true,
      "KitChangeParms": true,
      "KitDisable": true,
      "KitFlagDescription": "string",
      "KitOrderQtyUOM": "string",
      "KitStandard": true,
      "LessDiscount": 0,
      "LotNum": "string",
      "MiscCharges": 0,
      "MultipleReleases": true,
      "OnHandQuantity": 0,
      "PartExists": true,
      "PartTrackDimension": true,
      "PartTrackLots": true,
      "POLineRef": "string",
      "PriceListCodeDesc": "string",
      "ProcessCounterSale": true,
      "ProcessQuickEntry": true,
      "QuoteQtyNum": 0,
      "RelWasRecInvoiced": true,
      "RespMessage": "string",
      "Rpt1DspDiscount": 0,
      "Rpt1DspUnitPrice": 0,
      "Rpt1ExtPrice": 0,
      "Rpt1InMiscCharges": 0,
      "Rpt1LessDiscount": 0,
      "Rpt1MiscCharges": 0,
      "Rpt1TaxAmt": 0,
      "Rpt1TotalPrice": 0,
      "Rpt2DspDiscount": 0,
      "Rpt2DspUnitPrice": 0,
      "Rpt2ExtPrice": 0,
      "Rpt2InMiscCharges": 0,
      "Rpt2LessDiscount": 0,
      "Rpt2MiscCharges": 0,
      "Rpt2TaxAmt": 0,
      "Rpt2TotalPrice": 0,
      "Rpt3DspDiscount": 0,
      "Rpt3DspUnitPrice": 0,
      "Rpt3ExtPrice": 0,
      "Rpt3InMiscCharges": 0,
      "Rpt3LessDiscount": 0,
      "Rpt3MiscCharges": 0,
      "Rpt3TaxAmt": 0,
      "Rpt3TotalPrice": 0,
      "SalesRepName1": "string",
      "SalesRepName2": "string",
      "SalesRepName3": "string",
      "SalesRepName4": "string",
      "SalesRepName5": "string",
      "TaxAmt": 0,
      "ThisOrderInvtyQty": 0,
      "TotalPrice": 0,
      "TotalShipped": 0,
      "WarehouseCode": "string",
      "WarehouseDesc": "string",
      "BinNum": "string",
      "AttributeMismatch": true,
      "JobManagerString": "string",
      "CalcOrdBasedPrice": 0,
      "SalesOrderLinked": true,
      "InventoryAttributeSetID": 0,
      "BitFlag": 0,
      "CommodityCodeDescription": "string",
      "ContractCodeContractDescription": "string",
      "CustNumSendToFSA": true,
      "CustNumBTName": "string",
      "CustNumCustID": "string",
      "CustNumName": "string",
      "DiscBreakListCodeListDescription": "string",
      "DiscBreakListCodeEndDate": "2022-08-20T14:29:49.923Z",
      "DiscBreakListCodeStartDate": "2022-08-20T14:29:49.923Z",
      "MktgCampaignIDCampDescription": "string",
      "MktgEvntEvntDescription": "string",
      "OrderNumBTCustNum": 0,
      "OrderNumCurrencyCode": "string",
      "OrderNumCardMemberName": "string",
      "PartNumSendToFSA": true,
      "PartNumAttrClassID": "string",
      "PartNumSalesUM": "string",
      "PartNumPricePerCode": "string",
      "PartNumTrackSerialNum": true,
      "PartNumPartDescription": "string",
      "PartNumIUM": "string",
      "PartNumTrackLots": true,
      "PartNumSellingFactor": 0,
      "PartNumTrackDimension": true,
      "PartNumDefaultAttributeSetID": 0,
      "PartNumFSAEquipment": true,
      "PartNumTrackInventoryAttributes": true,
      "PriceBreakListDescription": "string",
      "PriceBreakStartDate": "2022-08-20T14:29:49.923Z",
      "PriceBreakEndDate": "2022-08-20T14:29:49.923Z",
      "ProdCodeDescription": "string",
      "ProjectIDDescription": "string",
      "QuoteNumCurrencyCode": "string",
      "SalesCatIDDescription": "string",
      "TaxCatIDDescription": "string",
      "WarrantyCodeWarrDescription": "string",
      "RowMod": "string",
      "OrderMscs": [
        {
          "Company": "string",
          "OrderNum": 0,
          "OrderLine": 0,
          "SeqNum": 0,
          "MiscCode": "string",
          "Description": "string",
          "MiscAmt": 0,
          "DocMiscAmt": 0,
          "FreqCode": "string",
          "Quoting": "string",
          "Linked": true,
          "ICPONum": 0,
          "ICPOLine": 0,
          "ICPOSeqNum": 0,
          "ExtCompany": "string",
          "ChangedBy": "string",
          "ChangeDate": "2022-08-20T14:29:49.923Z",
          "ChangeTime": 0,
          "Rpt1MiscAmt": 0,
          "Rpt2MiscAmt": 0,
          "Rpt3MiscAmt": 0,
          "InMiscAmt": 0,
          "DocInMiscAmt": 0,
          "Rpt1InMiscAmt": 0,
          "Rpt2InMiscAmt": 0,
          "Rpt3InMiscAmt": 0,
          "Percentage": 0,
          "Type": "string",
          "ChangeTrackApproved": true,
          "ChangeTrackAmount": 0,
          "ChangeTrackMemoDesc": "string",
          "ChangeTrackMemoText": "string",
          "ChangeTrackStatus": "string",
          "SysRevID": 0,
          "SysRowID": "00000000-0000-0000-0000-000000000000",
          "BaseCurrSymbol": "string",
          "CurrencyCode": "string",
          "CurrencySwitch": true,
          "CurrSymbol": "string",
          "DocDspMiscAmt": 0,
          "DspMiscAmt": 0,
          "EntryProcess": "string",
          "OpenLine": true,
          "Rpt1DspMiscAmt": 0,
          "Rpt2DspMiscAmt": 0,
          "Rpt3DspMiscAmt": 0,
          "RespMessage": "string",
          "BitFlag": 0,
          "MiscCodeDescription": "string",
          "OrderLineLineDesc": "string",
          "OrderNumCurrencyCode": "string",
          "OrderNumCardMemberName": "string",
          "RowMod": "string"
        }
      ],
      "OrderRels": [
        {
          "Company": "string",
          "OrderNum": 0,
          "OrderLine": 0,
          "OrderRelNum": 0,
          "LineType": "string",
          "ReqDate": "2022-08-20T14:29:49.923Z",
          "OurReqQty": 0,
          "ShipToNum": "string",
          "ShipViaCode": "string",
          "OpenRelease": true,
          "FirmRelease": true,
          "Make": true,
          "OurJobQty": 0,
          "OurJobShippedQty": 0,
          "VoidRelease": true,
          "OurStockQty": 0,
          "WarehouseCode": "string",
          "OurStockShippedQty": 0,
          "PartNum": "string",
          "RevisionNum": "string",
          "TaxExempt": "string",
          "ShpConNum": 0,
          "NeedByDate": "2022-08-20T14:29:49.923Z",
          "Reference": "string",
          "Plant": "string",
          "SellingReqQty": 0,
          "SellingJobQty": 0,
          "SellingJobShippedQty": 0,
          "SellingStockQty": 0,
          "SellingStockShippedQty": 0,
          "SelectForPicking": true,
          "StagingWarehouseCode": "string",
          "StagingBinNum": "string",
          "PickError": "string",
          "CumeQty": 0,
          "CumeDate": "2022-08-20T14:29:49.923Z",
          "Linked": true,
          "ICPONum": 0,
          "ICPOLine": 0,
          "ICPORelNum": 0,
          "ExtCompany": "string",
          "ScheduleNumber": "string",
          "MarkForNum": "string",
          "DropShipName": "string",
          "RAN": "string",
          "DemandReference": "string",
          "DemandSchedRejected": true,
          "DatePickTicketPrinted": "2022-08-20T14:29:49.923Z",
          "ResDelivery": true,
          "SatDelivery": true,
          "SatPickup": true,
          "VerbalConf": true,
          "Hazmat": true,
          "DocOnly": true,
          "RefNotes": "string",
          "ApplyChrg": true,
          "ChrgAmount": 0,
          "COD": true,
          "CODFreight": true,
          "CODCheck": true,
          "CODAmount": 0,
          "GroundType": "string",
          "NotifyFlag": true,
          "NotifyEMail": "string",
          "DeclaredIns": true,
          "DeclaredAmt": 0,
          "ServSatDelivery": true,
          "ServSatPickup": true,
          "ServSignature": true,
          "ServAlert": true,
          "ServPOD": true,
          "ServAOD": true,
          "ServHomeDel": true,
          "DeliveryType": "string",
          "ServDeliveryDate": "2022-08-20T14:29:49.923Z",
          "ServPhone": "string",
          "ServInstruct": "string",
          "ServRelease": true,
          "ServAuthNum": "string",
          "ServRef1": "string",
          "ServRef2": "string",
          "ServRef3": "string",
          "ServRef4": "string",
          "ServRef5": "string",
          "OverrideCarrier": true,
          "OverrideService": true,
          "DockingStation": "string",
          "Location": "string",
          "TransportID": "string",
          "ShipbyTime": 0,
          "ChangedBy": "string",
          "ChangeDate": "2022-08-20T14:29:49.923Z",
          "ChangeTime": 0,
          "TaxConnectCalc": true,
          "GetDfltTaxIds": true,
          "TaxRegionCode": "string",
          "UseOTS": true,
          "OTSName": "string",
          "OTSAddress1": "string",
          "OTSAddress2": "string",
          "OTSAddress3": "string",
          "OTSCity": "string",
          "OTSState": "string",
          "OTSZIP": "string",
          "OTSResaleID": "string",
          "OTSContact": "string",
          "OTSFaxNum": "string",
          "OTSPhoneNum": "string",
          "OTSCountryNum": 0,
          "SubShipTo": "string",
          "ShipRouting": "string",
          "BuyToOrder": true,
          "VendorNum": 0,
          "PurPoint": "string",
          "DropShip": true,
          "PONum": 0,
          "POLine": 0,
          "PORelNum": 0,
          "OpenOrder": true,
          "OTSSaveAs": "string",
          "OTSSaveCustID": "string",
          "OTSCustSaved": true,
          "ShipToCustNum": 0,
          "IUM": "string",
          "SalesUM": "string",
          "RelStatus": "string",
          "ComplianceMsg": "string",
          "PrevSellQty": 0,
          "PrevPartNum": "string",
          "PrevXPartNum": "string",
          "PrevNeedByDate": "2022-08-20T14:29:49.924Z",
          "PrevReqDate": "2022-08-20T14:29:49.924Z",
          "PrevShipToNum": "string",
          "MFCustNum": 0,
          "UseOTMF": true,
          "OTMFName": "string",
          "OTMFAddress1": "string",
          "OTMFAddress2": "string",
          "OTMFAddress3": "string",
          "OTMFCity": "string",
          "OTMFState": "string",
          "OTMFZIP": "string",
          "OTMFContact": "string",
          "OTMFFaxNum": "string",
          "OTMFPhoneNum": "string",
          "OTMFCountryNum": 0,
          "ECCPlant": "string",
          "WIOrderLine": "string",
          "WIOrder": "string",
          "WebSKU": "string",
          "ShipOvers": true,
          "WIItemPrice": 0,
          "WIItemShipCost": 0,
          "SysRevID": 0,
          "SysRowID": "00000000-0000-0000-0000-000000000000",
          "EntityUseCode": "string",
          "PhaseID": "string",
          "OTSShipToNum": "string",
          "WasRecInvoiced": true,
          "ContractID": "string",
          "LinkToContract": true,
          "ReadyToFulfill": true,
          "OTSEMailAddress": "string",
          "AttributeSetID": 0,
          "NumberOfPieces": 0,
          "NumberOfPiecesUOM": "string",
          "PlanningNumberOfPieces": 0,
          "AvailableQuantity": 0,
          "BuyOverride": true,
          "CreditLimitMessage": "string",
          "CreditLimitSource": "string",
          "CurrencyCode": "string",
          "CustAllowOTS": true,
          "CustomerAllowShipTo3": true,
          "CustomerCustID": "string",
          "CustomerName": "string",
          "DisablePlantWhse": true,
          "DocSelfAssessTax": 0,
          "DocTotalTax": 0,
          "DocWithholdTax": 0,
          "DropShipOverride": true,
          "DspInvMeth": "string",
          "DspRevMethod": "string",
          "EnableBuyToOrder": true,
          "EnableMake": true,
          "EntryProcess": "string",
          "ExistPOSugg": true,
          "HdrOTS": true,
          "IntExternalKey": "string",
          "InvtyUOM": "string",
          "KitDisable": true,
          "LinkToPONum": true,
          "MakeOverride": true,
          "MarkForAddrFormatted": "string",
          "MarkForAddrList": "string",
          "MFCustID": "string",
          "NoRelTaxRgnChange": true,
          "NotCompliant": true,
          "OnHandQuantity": 0,
          "OTSSaved": true,
          "OTSTaxRegionCode": "string",
          "PartExists": true,
          "PhaseWasRecInvoiced": true,
          "ProjectID": "string",
          "ReleaseStatus": "string",
          "RemoveManAdTax": true,
          "Rpt1SelfAssessTax": 0,
          "Rpt1TotalTax": 0,
          "Rpt1WithholdTax": 0,
          "Rpt2SelfAssessTax": 0,
          "Rpt2TotalTax": 0,
          "Rpt2WithholdTax": 0,
          "Rpt3SelfAssessTax": 0,
          "Rpt3TotalTax": 0,
          "Rpt3WithholdTax": 0,
          "SalesOrderLinked": true,
          "SelfAssessTax": 0,
          "SellingFactor": 0,
          "SellingFactorDirection": "string",
          "ShipToAddressFormatted": "string",
          "ShipToAddressList": "string",
          "ShipToContactEMailAddress": "string",
          "ShipToContactName": "string",
          "ShipToSelected": true,
          "SNEnable": true,
          "ThisRelInvtyQty": 0,
          "TotalJobStockShipped": 0,
          "TotalTax": 0,
          "UpdateMarkForRecords": true,
          "VoidOrder": true,
          "WithholdTax": 0,
          "AllowTaxCodeUpd": true,
          "EnableDynAttrButton": true,
          "AttributeMismatch": true,
          "BitFlag": 0,
          "DynAttrValueSetShortDescription": "string",
          "DynAttrValueSetDescription": "string",
          "MFCustNumInactive": true,
          "OrderLineLineDesc": "string",
          "OrderNumCurrencyCode": "string",
          "OrderNumCardMemberName": "string",
          "OTMFCountryDescription": "string",
          "OTSCntryDescription": "string",
          "PartNumTrackInventoryAttributes": true,
          "PartNumAttrClassID": "string",
          "PartNumPricePerCode": "string",
          "PartNumTrackDimension": true,
          "PartNumIUM": "string",
          "PartNumTrackSerialNum": true,
          "PartNumPartDescription": "string",
          "PartNumTrackLots": true,
          "PartNumSellingFactor": 0,
          "PartNumSalesUM": "string",
          "PlantName": "string",
          "PurPointAddress3": "string",
          "PurPointZip": "string",
          "PurPointName": "string",
          "PurPointCountry": "string",
          "PurPointAddress1": "string",
          "PurPointState": "string",
          "PurPointCity": "string",
          "PurPointAddress2": "string",
          "PurPointPrimPCon": 0,
          "ShipViaCodeWebDesc": "string",
          "ShipViaCodeDescription": "string",
          "TaxRegionCodeDescription": "string",
          "TPShipToName": "string",
          "TPShipToBTName": "string",
          "TPShipToCustID": "string",
          "VendorNumState": "string",
          "VendorNumZIP": "string",
          "VendorNumName": "string",
          "VendorNumAddress2": "string",
          "VendorNumCountry": "string",
          "VendorNumCurrencyCode": "string",
          "VendorNumCity": "string",
          "VendorNumAddress3": "string",
          "VendorNumVendorID": "string",
          "VendorNumDefaultFOB": "string",
          "VendorNumTermsCode": "string",
          "VendorNumAddress1": "string",
          "WarehouseCodeDescription": "string",
          "RowMod": "string",
          "OrderRelTaxes": [
            {
              "Company": "string",
              "TaxCode": "string",
              "ReportableAmt": 0,
              "DocReportableAmt": 0,
              "TaxableAmt": 0,
              "DocTaxableAmt": 0,
              "Percent": 0,
              "TaxAmt": 0,
              "DocTaxAmt": 0,
              "Manual": true,
              "ChangedBy": "string",
              "ChangeDate": "2022-08-20T14:29:49.924Z",
              "ChangeTime": 0,
              "ReverseCharge": true,
              "OrderNum": 0,
              "OrderLine": 0,
              "OrderRelNum": 0,
              "Discount": 0,
              "DocDiscount": 0,
              "Rpt1Discount": 0,
              "Rpt2Discount": 0,
              "Rpt3Discount": 0,
              "Rpt1ReportableAmt": 0,
              "Rpt2ReportableAmt": 0,
              "Rpt3ReportableAmt": 0,
              "Rpt1TaxableAmt": 0,
              "Rpt2TaxableAmt": 0,
              "Rpt3TaxableAmt": 0,
              "Rpt1TaxAmt": 0,
              "Rpt2TaxAmt": 0,
              "Rpt3TaxAmt": 0,
              "RateCode": "string",
              "CollectionType": 0,
              "Timing": 0,
              "ExemptType": 0,
              "ExemptPercent": 0,
              "ResolutionNum": "string",
              "ResolutionDate": "2022-08-20T14:29:49.924Z",
              "TaxRateDate": "2022-08-20T14:29:49.924Z",
              "DefTaxableAmt": 0,
              "DocDefTaxableAmt": 0,
              "Rpt1DefTaxableAmt": 0,
              "Rpt2DefTaxableAmt": 0,
              "Rpt3DefTaxableAmt": 0,
              "DefTaxAmt": 0,
              "DocDefTaxAmt": 0,
              "Rpt1DefTaxAmt": 0,
              "Rpt2DefTaxAmt": 0,
              "Rpt3DefTaxAmt": 0,
              "ManAdd": true,
              "DedTaxAmt": 0,
              "DocDedTaxAmt": 0,
              "Rpt1DedTaxAmt": 0,
              "Rpt2DedTaxAmt": 0,
              "Rpt3DedTaxAmt": 0,
              "ECAcquisitionSeq": 0,
              "FixedAmount": 0,
              "DocFixedAmount": 0,
              "Rpt1FixedAmount": 0,
              "Rpt2FixedAmount": 0,
              "Rpt3FixedAmount": 0,
              "TextCode": "string",
              "SysRevID": 0,
              "SysRowID": "00000000-0000-0000-0000-000000000000",
              "SalesTaxDescDescription": "string",
              "DocDisplaySymbol": "string",
              "CurrencySwitch": true,
              "CurrencyCode": "string",
              "CollectionTypeDescription": "string",
              "DisplaySymbol": "string",
              "NoChangeManual": true,
              "EntryProcess": "string",
              "BitFlag": 0,
              "RateCodeDescDescription": "string",
              "RowMod": "string"
            }
          ]
        }
      ],
      "OrderDtlAttches": [
        {
          "Company": "string",
          "OrderNum": 0,
          "OrderLine": 0,
          "DrawingSeq": 0,
          "XFileRefNum": 0,
          "SysRevID": 0,
          "SysRowID": "00000000-0000-0000-0000-000000000000",
          "ForeignSysRowID": "00000000-0000-0000-0000-000000000000",
          "DrawDesc": "string",
          "FileName": "string",
          "PDMDocID": "string",
          "DocTypeID": "string",
          "RowMod": "string"
        }
      ]
    }
  ],
  "OrderHedUPS": [
    {
      "Company": "string",
      "OrderNum": 0,
      "UPSQVSeq": 0,
      "EmailAddress": "string",
      "ShipmentNotify": true,
      "FailureNotify": true,
      "DeliveryNotify": true,
      "SysRevID": 0,
      "SysRowID": "00000000-0000-0000-0000-000000000000",
      "EnableQuantumView": true,
      "EntryProcess": "string",
      "BitFlag": 0,
      "RowMod": "string"
    }
  ],
  "OrderRepComms": [
    {
      "Company": "string",
      "OrderNum": 0,
      "SalesRepCode": "string",
      "Name": "string",
      "CommLines": 0,
      "CommSaleAmt": 0,
      "CommAmt": 0,
      "Seq": "string",
      "SysRowID": "00000000-0000-0000-0000-000000000000",
      "RowMod": "string"
    }
  ],
  "OrderScheds": [
    {
      "Company": "string",
      "OrderNum": 0,
      "PaySeq": 0,
      "PayDays": 0,
      "PayPercent": 0,
      "PayAmount": 0,
      "SysRevID": 0,
      "SysRowID": "00000000-0000-0000-0000-000000000000",
      "DocPayAmount": 0,
      "Rpt1PayAmount": 0,
      "Rpt2PayAmount": 0,
      "Rpt3PayAmount": 0,
      "CurrencySwitch": true,
      "CurrencyCode": "string",
      "IsLastRow": true,
      "BitFlag": 0,
      "RowMod": "string"
    }
  ],
  "OrderHedAttches": [
    {
      "Company": "string",
      "OrderNum": 0,
      "DrawingSeq": 0,
      "XFileRefNum": 0,
      "SysRevID": 0,
      "SysRowID": "00000000-0000-0000-0000-000000000000",
      "ForeignSysRowID": "00000000-0000-0000-0000-000000000000",
      "DrawDesc": "string",
      "FileName": "string",
      "PDMDocID": "string",
      "DocTypeID": "string",
      "RowMod": "string"
    }
  ]
}

Alright, thanks.
But please how did you arrive at this screen?

I searched for currency and found the screen currency master.

1 Like

We are using REST to integrate data from a POS system into Epicor 10.2.500.15. The current process populates the date based on the end of day process of the POS, but, the POS EOD is 1 day prior. EOD runs March 10 at 3a, but we want the process to reflect up until 11:59p, March 9. The REST process can only be run at 3/4a the following day.

So we would like to programmatically set the ShipDate date to ‘yesterdays’ date on the Customer Shipment Entry Screen that lists the PackID generated when the Countersale is button is pressed. I have come across the following field that contains the date, but I have not been able to determine how/where to call/set this in order to populate this field - Erp.Proxy.BO.CustShipImp. I have not found it in the list of business objects for REST…

Any advice on how to proceed?
Thanks

Have you done a trace of the Counter Sale?

In Swagger, there is the OData endpoints and the Custom endpoints that will match closer to a trace. In the upper-right hand corner of the screen, you should see the custom link.

mind to share the code on how to call the rest api to create sales order?
currently i has using adapter to create as example.

var SOHDTableset = new SalesOrderTableset {
OrderHed = orderHedList.ToArray()
};
var data = new {
ds = SOHDTableset
};

var client = new System.Net.Http.HttpClient();
var request = new HttpRequestMessage(HttpMethod.Post, “https://testserver/E102Test/api/v2/odata/TGPT/Erp.BO.SalesOrderSvc/GetNewOrderHed”);
request.Headers.Add(“Accept”, “application/json”);
request.Headers.Add(“X-API-Key”, “xxxx”);
request.Headers.Add(“Authorization”, “Basic xxxx”);
request.Content = new StringContent(JsonConvert.SerializeObject(data), Encoding.UTF8, “application/json”);
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
var order = await response.Content.ReadAsStringAsync();

and this is my previous code using and now need to convert this into Rest API…

SalesOrderAdapter _SO = new SalesOrderAdapter(oTrans);
_SO.BOConnect();
DataTable dsSalesOrder = _SO.SalesOrderData.OrderHed;
_SO.GetNewOrderHed();
dsSalesOrder.Rows[0][“Company”] = Convert.ToString(row[“Company”]);
dsSalesOrder.Rows[0][“Plant”] = Convert.ToString(cbPlant.Text);
dsSalesOrder.Rows[0][“PONum”] = Convert.ToString(row[“PONUM”]);
dsSalesOrder.Rows[0][“TermsCode”] = Convert.ToString(row[“TermsCode”]);
dsSalesOrder.Rows[0][“CustNum”] = Convert.ToString(row[“CustNum”]);
dsSalesOrder.Rows[0][“BTCustNum”] = Convert.ToString(row[“CustNum”]);
dsSalesOrder.Rows[0][“ShipToCustNum”] = Convert.ToString(row[“CustNum”]);
dsSalesOrder.Rows[0][“EntryPerson”] = Convert.ToString(frmLogin.UserID);
dsSalesOrder.Rows[0][“CurrencyCode”] = “Base”;
dsSalesOrder.Rows[0][“CustomerCustID”] = Convert.ToString(row[“CustomerCustID”]);
dsSalesOrder.Rows[0][“FOB”] = Convert.ToString(row[“FOB”]);
dsSalesOrder.Rows[0][“ShipViaCode”] = “LORY”;
dsSalesOrder.Rows[0][“Inter_CustID_c”] = Convert.ToString(row[“CustomerCustID”]);
dsSalesOrder.Rows[0][“Inter_PO_c”] = Convert.ToString(row[“Inter_PO_c”]);
_SO.OnChangeofSoldToCreditCheck(0, Convert.ToString(row[“CustomerCustID”]), out string AgingMessage, out bool IContinue);
_SO.ChangeSoldToID();
_SO.ChangeCustomer();
_SO.ChangePlant(Convert.ToString(cbPlant.Text));
_SO.MasterUpdate(true, true, “OrderHed”, Convert.ToInt32(row[“custNum”]), 0, false, out IContinue,
out string cRepMsg, out string cCreditShipAction, out string cDisplayMsg, out string cCompliantMsg,
out string cRespMsgOrdRel, out AgingMessage);
_SO.Dispose();

At a general level - I would recommend sending what you have on your ecommerce site as parameters to an Epicor function and then use the Epicor BO’s to create the sales order.

All you need to do then is call your Epicor function via the Rest API.

It’s easier to do it this way and also easier to ensure security.

1 Like

Hi, thanks! I’m using Visual Studio for external apps, as previously connected through the object adapter. I’m not sure if that method is still working for using Epicor connected service at Kinetic version 2023. Can you confirm if it’s feasible?

You should be able to call the Rest-API via VS, using System.Net.

1 Like

You can use this nuget we wrote

It should let you call the same BO methods you called before but via rest

It has been used in hundreds of projects and it is throughly tested and documented

1 Like

Hi Jose,
Glad to receive your response and I did follow you, I did try your project, just I have no idea where to start, and is there any documentation guideline in order to get connect?
Secondly currently we are moving towards Kinetic whereby I do have few external app C# VS project which connect to Epicor E10 previously using BO adapter, especially as create new SO which we need to continue fire few method as follow:
_SO.GetNewOrderHed();
_SO.OnChangeofSoldToCreditCheck(0, Convert.ToString(row[“CustomerCustID”]), out string AgingMessage, out bool IContinue);
_SO.ChangeSoldToID();
_SO.ChangeCustomer();
_SO.ChangePlant(Convert.ToString(cbPlant.Text));
_SO.MasterUpdate(true, true, “OrderHed”, Convert.ToInt32(row[“custNum”]), 0, false, out IContinue,
out string cRepMsg, out string cCreditShipAction, out string cDisplayMsg, out string cCompliantMsg,
out string cRespMsgOrdRel, out AgingMessage);

Just I have no idea how to pass on to next method call and where to set the ds.
Is any expert here do mind to share as the sample of this calling, which much appreciate.

That link above has documentation that shows how to connect and how to make calls

1 Like

Since this comes up quite a bit, I found a video that suggests an architecture that might make these external integrations easier.

greats info thanks @Mark_Wonsil

Thanks @josecgomez

Hi
i has construct the simple payload with respective input for MasterUpdate in SalesOrder and still respone me BadRequest as following:

Ice.Common.EpicorServerException: Parameter lCheckForOrderChangedMsg is not found in the input object

My payload is:

var UpdateDat = new
{
    lCheckForOrderChangedMsg = true,
    lcheckForResponse = true,
    cTableName = "OrderHed",
    iCustNum = 277,
    iOrderNum = 0,
    lweLicensed = false,
    ds
};
 
var UpdPayload = JsonConvert.SerializeObject(UpdateDat);
var cont = new StringContent(UpdPayload, Encoding.UTF8, "application/json");
apiUrl = BaseAddress + "odata/" + CompanyID + "/Erp.BO.SalesOrderSvc/MasterUpdate";
response = await client.PostAsync(apiUrl, new StringContent(JsonConvert.SerializeObject(cont), Encoding.UTF8, "application/json"));
response.EnsureSuccessStatusCode();
responseBody = await response.Content.ReadAsStringAsync();

someone kindly assist which area I did wrong and how to make the correction, I checked the rawdata for my payload but I didnt find any part missing.