cancel
Showing results for 
Search instead for 
Did you mean: 

Production Order header Qty change without changing the line qty

Former Member
0 Kudos

Dear Experts,

  This is one of the requirement from my client. He has to change header planned qty without changing line planned qty in the production order. They are doing this to avoid the wip variance account posting. Can we achieve this through SDK? If so how?

Regards,

Gokul K.

Accepted Solutions (1)

Accepted Solutions (1)

csaba_fulopcsei2
Explorer
0 Kudos

Hi Gokul,

You can over write the planned quantity by the base quantity in each line.

Here is my sample fro you:

If (Not pVal.Before_Action) And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE) And (pVal.ItemChanged) And (pVal.FormTypeEx = "65211") And (pVal.ItemUID = "12") Then

  With CType(SBO_Application.Forms.Item(FormUID).Items.Item("37").Specific, SAPbouiCOM.Matrix)

  For ii As Integer = 1 To .RowCount - 1

  .Columns.Item("14").Cells.Item(ii).Specific.value = .Columns.Item("2").Cells.Item(ii).Specific.value

  Next

  End With

End If

regards,

Csaba

Answers (0)