Skip to main content
Question

Incoming dispatch advice-Receive a line using REST

  • November 26, 2024
  • 3 replies
  • 75 views

Forum|alt.badge.img+4
  • Do Gooder (Customer)

Hi,

I am trying to receive a line on the Incoming dispatch advice using REST. All the API’s use Objkey but not able to find which call actually returns the Objkey for the line. Any ideas on how to achieve this would help a lot.

Thanks

 

3 replies

Marcel.Ausan
Ultimate Hero (Partner)
Forum|alt.badge.img+22
  • Ultimate Hero (Partner)
  • November 26, 2024

@SN03 I just tried now to receive an Incoming Dispatch Advice and this is the POST API that’s been trigerred:

%.ifs.cloud/main/ifsapplications/projection/v1/IncomingDispatchAdviceHandling.svc/CreateReceipt?

With the below payload:

MessageId: "10901"
DelnoteNo: "5071"
ReceiptReference: "5071"
Contract: null
LocationNo: null
ReceiveToDefaultLocations: "TRUE"
UseSourceLineRevision: "FALSE"
DiffRevInTransit: null
CurrencyDate: "2024-11-26T13:00:44Z"

So, I guess you could execute this via REST Call just by knowing the DelnoteNo or MessageId

 

Forum|alt.badge.img+4
  • Author
  • Do Gooder (Customer)
  • November 26, 2024

Hi, ​@Marcel.Ausan  - This call creates the receipt at the header level. I want to receive at the PO line level. I want to do line by line not the entire dispatch advice.


Forum|alt.badge.img+4
  • Author
  • Do Gooder (Customer)
  • November 26, 2024

Hi ​@Marcel.Ausan  - To add to this, on the debug log there is CreateReceiptAssistant but cannot figure out how the Objkey is returned.