Kyle,
I am now successfully generating F47036 & F470371 records using R47032 but
can tell you that I had to spend some time walking through the application
in debug.
Couple of traps if creating Shipments...
1. Your Shipment Status must match the P.Option exactly. The following code
is from the R47032 program BUT the error is not written to the W/Centre or
Report.
0097 If VA evt_SSTS_ShipmentStatus is not equal to PO
szShipmentStatusConfirm
0098 VA rpt_SuccessFlag = "0"
0099 VA rpt_DTAI_ErrorMsg = "040C"
0100 End If
0101 //
2. Your Default Pack Configuration must be set to anything other than NONE
on your Customer Master Shipping Notice Screen BEFORE you create F4215
Shipment Headers as it uses F4215 XHPNID which is populated at Order Entry
Time.
0102 If VA rpt_PNID_TradingPartner is equal to <Blank>
0103 // Report Error 040E
0104 VA rpt_DTAI_ErrorMsg = "040E"
0105 VA rpt_SuccessFlag = "0"
0106 End If
3. If you are not overriding the Heirarchical Configuration (via P.Option)
then your need to have your Heirarchical Configuration fields (A5CFFP or
A5CFSP) *NE 'Blank' on your Customer Master Shipping Notice Screen BEFORE
you create F4215 Shipment Headers as it uses F4215 XHHLCF.
4. Only use the F4211 fields in your Data Selection, selections based on
F4216 seemed to be ignored???
Hope this helps,
Craig
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager (
[email protected] )
Important Notice: Berri Limited scans all incoming and outgoing
emails for possible inappropriate content. Procedures to rectify
problems with the email system may result in others reviewing
the content of any incoming or outgoing email.
The Berri Limited Email system is for Business use only.
**********************************************************************
Craig Potte