E9.2 XT4114Z1 not write to F4111 but F0911

krisjde

Member
Hi All,
I use XT4114Z1 EditLine insert 2 lines IA transaction, but after run EndDocument only write to F4111 line number=1.
but F0911 have 4 records corresponds to two transaction lines.
Could please help to ask me how about it?

F4113 FS Edit Line
VA rpt_mnAudit_JOBN -> BF szComputerID
"3.00" -> BF mnTransactionProcessingType
<Zero> X BF cLineAction
"1" X BF cRecordWritten
VA rpt_mnITReturnF0911_JOBS <> BF mnF0911JobNumber
"2" -> BF cAllowQtyOverAvailable
VA rpt_mnIT_DOC <> BF mnDocumentNumber
SL DateToday -> BF jdGLDate
SL DateToday -> BF jdTransactionDate
"IT" -> BF szDocumentType
SL DateToday -> BF jdBatchDate
VA rpt_mnITReturnBatchNum_ICU <> BF mnBatchNumber
VA rpt_szBizTypeDesc_EXA -> BF szGLExplanation
BC 2nd Item Number (F5810110)(LITM) -> BF szItemNumber
VA sec_mnITReturn_UORG -> BF mnTransactionQty
BC Unit of Measure as Input (F5810110)(UOM) <> BF szTransactionUOM
BC Component Branch (F5810110)(CMCU) -> BF szFromBranchPlant
VA evt_szITAvailFormat_WL01 -> BF szFromDisplayLocation
BC Lot/Serial Number (F5810110)(LOTN) -> BF szFromLotNumber
VA rpt_szUP_CO -> BF szFromKeyCompany
BC Component Branch (F5810110)(CMCU) -> BF szToBranchPlant
BC Location E1 (F5810110)(LOCNE1) -> BF szToDisplayLocation
BC Lot/Serial Number (F5810110)(LOTN) -> BF szToLotNumber
VA rpt_mnTransBatchId_LNID <> BF mnFromLineNumber
VA evt_ToLineNumber_LNID <> BF mnToLineNumber
VA rpt_mnTransBatchId_LNID <> BF mnPreviousLineNumber
VA rpt_mnITReturn_JOBS <> BF mnInvJobNumber
BC Item Number - Short (F5810110)(ITM) -> BF mnShortItemNumber
VA evt_cITReturnFlag_FLAG <- BF cProcessFlag

F4114 End Document
VA rpt_szAudit_PID -> BF szProgramID
VA rpt_mnI2_DOC <> BF mnDocumentNumber
VA rpt_mnAudit_JOBN -> BF szComputerID
"1" -> BF cWriteCardex
VA rpt_szI2_DCT -> BF szDocumentType
"1.00" -> BF mnTransactionProcessType
VA rpt_mnI2F0911_JOBS -> BF mnF0911Jobnumber
VA rpt_mnI2_ICU -> BF mnBatchNumber
"1" -> BF cProcessCloseBatch
VA rpt_mnI2Inv_JOBS -> BF mnInvJobNumber
 
Sorry, copy wrong code.
F4114 Edit Line
VA rpt_mnAudit_JOBN -> BF szComputerID
VA sec_mnEISPLine_LNID <> BF mnLineNumber
SL DateToday -> BF jdGLDate
VA rpt_szBizTypeDesc_EXA -> BF szGLExplanation
"1" -> BF cUpdateQuantityOnHand
"1" -> BF cAllowQtyOverAvailable
VA sec_mnLine_UKID <> BF mnPreviousLinenumber
VA evt_cF4111_FRTO -> BF cFromTo
VA rpt_mnLastJENumber_JELN X BF mnLastJELine
"1" -> BF cDefaultFromPrimaryLocation
SL DateToday -> BF jdTransactionDate
VA rpt_szF4111_DCT -> BF szDocumentType
SL DateToday -> BF jdBatchDate
VA rpt_mnTransIE_ICU <> BF mnBatchNumber
BC Component Branch (F5810110)(CMCU) -> BF szBranchPlant
BC 2nd Item Number (F5810110)(LITM) -> BF szItemNumber
BC Item Number - Short (F5810110)(ITM) -> BF mnShortItemNumber
BC Location E1 (F5810110)(LOCNE1) -> BF szDisplayedLocation
BC Location E1 (F5810110)(LOCNE1) -> BF szLocation
BC Lot/Serial Number (F5810110)(LOTN) -> BF szLotNumber
BC Unit of Measure as Input (F5810110)(UOM) -> BF szTransactionUOM
VA sec_mnITReturn_UORG -> BF mnTransactionQty
"2.00" -> BF mnTransactionProcessType
BC Date - Lot Expiration (F5810110)(MMEJ) -> BF jdLotExpirationDate
VA rpt_mnIAReturn_DOC <> BF mnDocumentNumber
"24" -> BF szReasonCode
VA rpt_mnITReturnF0911_JOBS <> BF mnF0911JobNumber
VA rpt_mnITReturn_JOBS <- BF mnInvJobNumber
VA rpt_mnTransBatchId_LNID X BF mnWMSLineNumber
"1" -> BF cProcessJE
 
we have used the F4114 begin edit and end in many program on our end for inventory moves and it works fine for us . Did you check the debug logs of the function and see if there are any errors ? The other option just to mention is go EDI but these functions do work .
 
Back
Top