
BookClub
Member
Hello, I am running into problems using F4211FSEditLine. I'm using it to change a few fields on F4211 such as location in a report. I'm using BeginDoc->EditLine->EndDoc and after EndDoc finishes I am finding many fields in both F4201 and F4211 to have been blanked and the pricing to be changed. I am assuming the blanking is due to not all of the ~200 fields in EditLine being populated. I am assuming that there are options in one of these functions that I am missing that are causing this behavior. Below is an example of one of these calls:
I have also tried the combination of ProcessEdits 2 and 3 for BeginDoc and EditLine respectively but the behavior has remained the same. Any help or pointers are much appreciated!
Code:
2047 F4211 Begin Document
VA evt_Myvar_CANextNumber_N001 -> BF mnCMJobNumber
"C" -> BF cCMDocAction
"1" -> BF cCMProcessEdits
"MyComputer" -> BF szCMComputerID
"2" -> BF cCMUpdateWriteToWF
"00001" -> BF szOrderCo
BC Document (Order No, Invoice, etc.) (F4211)(DOCO) -> BF mnOrderNo
BC Order Type (F4211)(DCTO) -> BF szOrderType
BC Business Unit (F4211)(MCU) -> BF szBusinessUnit
BC Address Number (F4211)(AN8) -> BF mnAddressNumber
BC Address Number - Ship To (F4211)(SHAN) -> BF mnShipToNo
<Blank> -> BF cWKSourceOfData
2048 F4211 Edit Line
VA evt_Myvar_CANextNumber_N001 -> BF mnCMJobNo
"C" -> BF cCMLineAction
"1" -> BF cCMProcessEdits
"2" -> BF cCMWriteToWFFlag
"MyComputer" -> BF szCMComputerID
"00001" -> BF szOrderCo
BC Document (Order No, Invoice, etc.) (F4211)(DOCO) -> BF mnOrderNo
BC Order Type (F4211)(DCTO) -> BF szOrderType
VA evt_MyVar_LocationChange_LNID -> BF mnLineNo
BC Business Unit (F4211)(MCU) -> BF szBusinessUnit
BC Address Number - Ship To (F4211)(SHAN) -> BF mnShipToNo
BC 2nd Item Number (F4211)(LITM) -> BF szItemNo
VA evt_Myvar_CaseNewLoc_LOCN -> BF szLocation
BC Status Code - Last (F4211)(LTTR) -> BF szLastStatus
BC Status Code - Next (F4211)(NXTR) -> BF szNextStatus
VA evt_Myvar_CasesAtLOCN_SOQS -> BF mnQtyShipped
"CA" -> BF szTransactionUOM
"EP4210" -> BF szCMProgramID
"WLZ0001" -> BF szCMVersion
2049 F4211 End Document
VA evt_Myvar_CANextNumber_N001 -> BF mnCMJobNo
BC Document (Order No, Invoice, etc.) (F4211)(DOCO) -> BF mnSalesOrderNo
"MyComputer" -> BF szCMComputerID
BC Order Type (F4211)(DCTO) -> BF szOrderType
BC Order Company (Order Number) (F4211)(KCOO) -> BF szKeyCompany
"2" -> BF cCMUseWorkFiles
I have also tried the combination of ProcessEdits 2 and 3 for BeginDoc and EditLine respectively but the behavior has remained the same. Any help or pointers are much appreciated!