Troubleshooting
Problem
getOrderReleaseDetails throwing Null pointer when ChargeSummary specified
Symptom
getOrderReleaseDetails does not work with hf16 and a specific template which
has ChargeSummary in it.
Order must have a line charge.
PART: API-OM
5.0 Platform
PRODUCT: Distributed Order Management
COMPONENT:
getOrderReleaseDetails
OS: <None> - <None>
DATABASE: <None> -
<None>
WEB SERVER: <None> - <None>
WEB BROWSER: Internet Explorer - 6.0
Cause
Resolving The Problem
No workaround so far.
The Template to be used is :
<OrderRelease CarrierAccountNo="" CarrierServiceCode="" Currency=""
CustomerPoNo="" DeliveryCode="" Division="" EnterpriseCode="" ExtendedFlag=""
FOB="" HoldFlag="" HoldReasonCode="" MarkForKey="" MaxOrderReleaseStatus=""
MaxOrderReleaseStatusDesc="" MinOrderReleaseStatus=""
MinOrderReleaseStatusDesc="" NotificationReference="" NotificationType=""
NotifyAfterShipmentFlag="" OrderDate="" OrderHeaderKey="" OrderName=""
OrderReleaseKey="" OrderType="" OtherCharges="" PacklistType=""
PersonalizeCode="" PickListNo="" PriorityCode="" Purpose="" ReceivingNode=""
ReleaseNo="" ReleaseSeqNo="" ReqCancelDate="" ReqDeliveryDate="" ReqShipDate=""
RulesetKey="" SCAC="" SalesOrderNo="" ScacAndService="" ScacAndServiceKey=""
ShipAdviceNo="" ShipCompleteFlag="" ShipLineComplete="" ShipNode=""
ShipNodeClass="" ShipOrderComplete="" ShipToId="" ShipToKey="" Status=""
SupplierCode="" SupplierName="" TaxpayerId="" isHistory="">
<Order
AllocationRuleID="" AuthorizationExpirationDate="" BillToID=""
BuyerOrganizationCode="" CarrierAccountNo="" CarrierServiceCode=""
ChargeActualFreightFlag="" CustomerEMailID="" CustomerPONo="" DeliveryCode=""
Division="" DocumentType="" EnteredBy="" EnterpriseCode="" EntryType=""
ExtendedFlag="" FreightTerms="" HoldFlag="" HoldReasonCode=""
NotificationReference="" NotificationType="" NotifyAfterShipmentFlag=""
OrderDate="" OrderHeaderKey="" OrderName="" OrderNo="" OrderType=""
OriginalTax="" OriginalTotalAmount="" OtherCharges="" PaymentStatus=""
PersonalizeCode="" PriceProgramKey="" PriorityCode="" PriorityNumber=""
Purpose="" ReqCancelDate="" ReqDeliveryDate="" ReqShipDate=""
RequestedAuthAmount="" RequestedChargedAmount="" RulesetKey="" SCAC=""
ScacAndService="" ScacAndServiceKey="" SearchCriteria1="" SearchCriteria2=""
SellerOrganizationCode="" ShipCompleteFlag="" ShipToID="" TaxExemptFlag=""
TaxExemptionCertificate="" TaxJurisdiction="" TaxPayerId="" TermsCode=""
TotalAdjustmentAmount="" isHistory=""/>
<PersonInfoShipTo AddressLine1=""
AddressLine2="" AddressLine3="" AddressLine4="" AddressLine5="" AddressLine6=""
AlternateEmailID="" Beeper="" City="" Company="" Country="" DayFaxNo=""
DayPhone="" Department="" EMailID="" EveningFaxNo="" EveningPhone=""
FirstName="" JobTitle="" LastName="" MiddleName="" MobilePhone="" OtherPhone=""
PersonID="" PersonInfoKey="" State="" Suffix="" Title="" ZipCode=""/>
<PersonInfoMarkFor AddressLine1="" AddressLine2="" AddressLine3=""
AddressLine4="" AddressLine5="" AddressLine6="" AlternateEmailID="" Beeper=""
City="" Company="" Country="" DayFaxNo="" DayPhone="" Department="" EMailID=""
EveningFaxNo="" EveningPhone="" FirstName="" JobTitle="" LastName=""
MiddleName="" MobilePhone="" OtherPhone="" PersonID="" PersonInfoKey=""
State="" Suffix="" Title="" ZipCode=""/>
<OrderLine AllocationDate=""
CarrierAccountNo="" CarrierServiceCode="" CustomerLinePONo="" CustomerPONo=""
DeliveryCode="" DepartmentCode="" FreightTerms="" HoldFlag="" HoldReasonCode=""
ImportLicenseExpDate="" ImportLicenseNo="" KitCode="" LineSeqNo="" LineType=""
MaxLineStatus="" MaxLineStatusDesc="" MinLineStatus="" MinLineStatusDesc=""
OpenQty="" OrderHeaderKey="" OrderLineKey="" OrigOrderLineKey=""
OtherCharges="" PackListType="" PersonalizeCode="" PersonalizeFlag=""
PickableFlag="" PrimeLineNo="" Purpose="" ReceivingNode="" ReqCancelDate=""
ReqDeliveryDate="" ReqShipDate="" ReservationID="" ReservationPool="" SCAC=""
ScacAndService="" ScacAndServiceKey="" ShipNode="" ShipToID=""
ShipTogetherNo="" Status="" StatusQuantity="" SubLineNo=""
TotalDiscountAmount="" isHistory="">
<Item CostCurrency=""
CountryOfOrigin="" CustomerItem="" CustomerItemDesc="" ECCNNo=""
HarmonizedCode="" ISBN="" ItemDesc="" ItemID="" ItemShortDesc="" ItemWeight=""
ItemWeightUOM="" ManufacturerItem="" ManufacturerItemDesc=""
ManufacturerName="" NMFCClass="" NMFCCode="" NMFCDescription="" ProductClass=""
ProductLine="" ScheduleBCode="" SupplierItem="" SupplierItemDesc=""
TaxProductCode="" UPCCode="" UnitCost="" UnitOfMeasure=""/>
<OrderStatuses>
<OrderStatus ExpectedShipmentDate=""
NextTransactionKey="" OrderHeaderKey="" OrderLineKey="" OrderLineScheduleKey=""
OrderReleaseKey="" OrderReleaseStatusKey="" PipelineKey="" Status=""
StatusDate="" StatusDescription="" StatusQty="" StatusReason=""
TotalQuantity=""/>
</OrderStatuses>
<LinePackListPriceInfo Charges="" DiscountPercentage="" ExtendedPrice=""
LineTotal="" Tax="" UnitPrice="">
<LineCharges>
<LineCharge ChargeAmount="" ChargeCategory="" ChargeName="" ChargePerLine=""
ChargePerUnit="" Reference=""/>
</LineCharges>
<LineTaxes>
<LineTax ChargeCategory="" ChargeName=""
Reference_1="" Reference_2="" Reference_3="" Tax="" TaxName=""
TaxPercentage=""/>
<TaxSummary>
<TaxSummaryDetail Tax="" TaxName=""/>
</TaxSummary>
</LineTaxes>
</LinePackListPriceInfo>
</OrderLine>
<PackListPriceInfo Currency="" HeaderCharges="" HeaderDiscount="" HeaderTax=""
LineSubTotal="This is the extended price total across all lines"
TotalAmount="Total amount for release" TotalCharges="Total header and line
charges" TotalDiscountAmount="total header and line discount" TotalTax="total
header and line tax">
<TotalSummary>
<TaxSummary>
<TaxSummaryDetail Tax="" TaxName=""/>
</TaxSummary>
<ChargeSummary>
<ChargeSummaryDetail
ChargeAmount="" ChargeCategory="" ChargeName="" Reference=""/>
</ChargeSummary>
</TotalSummary>
<HeaderCharges>
<HeaderCharge ChargeAmount="" ChargeCategory="" ChargeName=""
Reference=""/>
</HeaderCharges>
<HeaderTaxes>
<HeaderTax ChargeCategory="" ChargeName="" Reference_1="" Reference_2=""
Reference_3="" Tax="" TaxName="" TaxPercentage=""/>
<TaxSummary>
<TaxSummaryDetail Tax="" TaxName=""/>
</TaxSummary>
</HeaderTaxes>
</PackListPriceInfo>
</OrderRelease>
Historical Number
PRI49274
Product Synonym
[<p><b>]Fact[</b><p>];
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21521428