czarcasm
Active Member
Hi,
I have a business function built to simply perform some PI (cycle count) transactions using the master business function XT4114Z1. The process performs the begin doc, edit line and end doc statements without errors occurring and I even end up with my cardex transaction being written, however, my quantity on hand never sees any update (up or down). My ER is below and i've been debugging this thing for a few days at this point. I'm sure I am missing something very simple but another set of eyes is always what spots that type of thing. Anyways, any ideas?
Listing of ER for Named ER: N554114
=======================================================================
NAMED ER: Perform Inventory Adjustment
=======================================================================
evt_BatchNumber
evt_JournalEntryLineNo
evt_FromTo
evt_0911
evt_InvJob
evt_ExplanationTransaction
evt_DateUpdated
0001 VA evt_DateUpdated = SL DateToday
0002 F4114 Begin Document
BF szActionType -> BF cDocumentAction
BF szComputerID <> BF szComputerID
BF szCostCenter <> BF szBranchPlant
VA evt_DateUpdated -> BF jdBatchDate
VA evt_JournalEntryLineNo <> BF mnLastJELineNumber
BF szCompany -> BF szDocumentKeyCompany
BF szDocType -> BF szDocumentType
VA evt_DateUpdated -> BF jdGLDate
VA evt_DateUpdated -> BF jdTransactionDate
VA evt_ExplanationTransaction <- BF szGLExplanation
0003 If BF mnUnitsTransactionQty is greater than <Zero>
0004 VA evt_FromTo = "T"
0005 Else
0006 VA evt_FromTo = "F"
0007 End If
0008 F4114 Edit Line
BF szComputerID <> BF szComputerID
BF cErrorConditions <- BF cErrorConditions
VA evt_DateUpdated -> BF jdGLDate
VA evt_ExplanationTransaction -> BF szGLExplanation
"1" -> BF cUpdateQuantityOnHand
"1" -> BF cAllowQtyOverAvailable
VA evt_FromTo <> BF cFromTo
"1" -> BF cDefaultFromPrimaryLocation
"1" -> BF cAllowHeldLots
VA evt_DateUpdated -> BF jdTransactionDate
BF szDocType -> BF szDocumentType
VA evt_DateUpdated -> BF jdBatchDate
VA evt_BatchNumber <- BF mnBatchNumber
BF szCostCenter -> BF szBranchPlant
BF szIdentifier2ndItem -> BF szItemNumber
BF szUnitOfMeasureAsInput -> BF szTransactionUOM
BF mnUnitsTransactionQty -> BF mnTransactionQty
"2.00" -> BF mnTransactionProcessType
BF szSupplierLot -> BF szSupplierLotNumber
VA evt_0911 <- BF mnF0911JobNumber
BF szCompany -> BF szKeyCompany
VA evt_InvJob <- BF mnInvJobNumber
"1" -> BF cProcessJE
0009 F4114 End Document
SL ReportName -> BF szProgramID
BF szComputerID -> BF szComputerID
"1" -> BF cWriteCardex
BF szDocType -> BF szDocumentType
"2.00" X BF mnTransactionProcessType
VA evt_0911 -> BF mnF0911Jobnumber
VA evt_BatchNumber -> BF mnBatchNumber
VA evt_InvJob -> BF mnInvJobNumber
Tuesday November 04, 2014 12:30
I have a business function built to simply perform some PI (cycle count) transactions using the master business function XT4114Z1. The process performs the begin doc, edit line and end doc statements without errors occurring and I even end up with my cardex transaction being written, however, my quantity on hand never sees any update (up or down). My ER is below and i've been debugging this thing for a few days at this point. I'm sure I am missing something very simple but another set of eyes is always what spots that type of thing. Anyways, any ideas?
Listing of ER for Named ER: N554114
=======================================================================
NAMED ER: Perform Inventory Adjustment
=======================================================================
evt_BatchNumber
evt_JournalEntryLineNo
evt_FromTo
evt_0911
evt_InvJob
evt_ExplanationTransaction
evt_DateUpdated
0001 VA evt_DateUpdated = SL DateToday
0002 F4114 Begin Document
BF szActionType -> BF cDocumentAction
BF szComputerID <> BF szComputerID
BF szCostCenter <> BF szBranchPlant
VA evt_DateUpdated -> BF jdBatchDate
VA evt_JournalEntryLineNo <> BF mnLastJELineNumber
BF szCompany -> BF szDocumentKeyCompany
BF szDocType -> BF szDocumentType
VA evt_DateUpdated -> BF jdGLDate
VA evt_DateUpdated -> BF jdTransactionDate
VA evt_ExplanationTransaction <- BF szGLExplanation
0003 If BF mnUnitsTransactionQty is greater than <Zero>
0004 VA evt_FromTo = "T"
0005 Else
0006 VA evt_FromTo = "F"
0007 End If
0008 F4114 Edit Line
BF szComputerID <> BF szComputerID
BF cErrorConditions <- BF cErrorConditions
VA evt_DateUpdated -> BF jdGLDate
VA evt_ExplanationTransaction -> BF szGLExplanation
"1" -> BF cUpdateQuantityOnHand
"1" -> BF cAllowQtyOverAvailable
VA evt_FromTo <> BF cFromTo
"1" -> BF cDefaultFromPrimaryLocation
"1" -> BF cAllowHeldLots
VA evt_DateUpdated -> BF jdTransactionDate
BF szDocType -> BF szDocumentType
VA evt_DateUpdated -> BF jdBatchDate
VA evt_BatchNumber <- BF mnBatchNumber
BF szCostCenter -> BF szBranchPlant
BF szIdentifier2ndItem -> BF szItemNumber
BF szUnitOfMeasureAsInput -> BF szTransactionUOM
BF mnUnitsTransactionQty -> BF mnTransactionQty
"2.00" -> BF mnTransactionProcessType
BF szSupplierLot -> BF szSupplierLotNumber
VA evt_0911 <- BF mnF0911JobNumber
BF szCompany -> BF szKeyCompany
VA evt_InvJob <- BF mnInvJobNumber
"1" -> BF cProcessJE
0009 F4114 End Document
SL ReportName -> BF szProgramID
BF szComputerID -> BF szComputerID
"1" -> BF cWriteCardex
BF szDocType -> BF szDocumentType
"2.00" X BF mnTransactionProcessType
VA evt_0911 -> BF mnF0911Jobnumber
VA evt_BatchNumber -> BF mnBatchNumber
VA evt_InvJob -> BF mnInvJobNumber
Tuesday November 04, 2014 12:30