private void CreateUDO_AltItem() { Utils.UDOChild child = new Utils.UDOChild("SOL_ALTITEM_D"); Utils.UDOChild[] childs = { child }; string[] FormColumnAlias = { "Code", "Name" }; string[] FormColumnDescription = { "Item Code", "Item Name" }; SAPbobsCOM.BoYesNoEnum[] FormColumnsEditable = { BoYesNoEnum.tYES, BoYesNoEnum.tYES, BoYesNoEnum.tYES }; Utils.CreateUDOTemplate(oSBOCompany, "ALTITEM", "Alternative Item Master Data", BoUDOObjType.boud_MasterData, "SOL_ALTITEM_H" , BoYesNoEnum.tYES, BoYesNoEnum.tYES, BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tNO , BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tYES , "ASOL_ALTITEM_H", null, null, 0, 0, FormColumnAlias, FormColumnDescription, FormColumnAlias , FormColumnDescription, FormColumnsEditable, childs); }
/// <summary> /// UDO - Fix Discount /// </summary> private void CreateUDO_FixDisc() { Utils.UDOChild child1 = new Utils.UDOChild("SOL_FIXDISC_D1"); Utils.UDOChild child2 = new Utils.UDOChild("SOL_FIXDISC_D2"); Utils.UDOChild[] childs = { child1, child2 }; string[] FormColumnAlias = { "Code", "U_SOL_AREA", "U_SOL_CARDCODE", "U_SOL_CARDNAME" }; string[] FormColumnDescription = { "Code", "Area", "Customer Code", "Customer Name" }; SAPbobsCOM.BoYesNoEnum[] FormColumnEditable = { BoYesNoEnum.tNO, BoYesNoEnum.tYES, BoYesNoEnum.tYES , BoYesNoEnum.tYES }; Utils.CreateUDOTemplate(oSBOCompany, "FIXDISC", "Fix Discount Master Data", BoUDOObjType.boud_MasterData, "SOL_FIXDISC_H" , BoYesNoEnum.tYES, BoYesNoEnum.tYES, BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tNO , BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tYES , "ASOL_FIXDISC_H", null, null, 0, 0, FormColumnAlias, FormColumnDescription, FormColumnAlias , FormColumnDescription, FormColumnEditable, childs); }
/// <summary> /// UDO - Periodic Discount /// </summary> private void CreateUDO_PrdDisc() { Utils.UDOChild child1 = new Utils.UDOChild("SOL_PRDDISC_D1"); Utils.UDOChild child2 = new Utils.UDOChild("SOL_PRDDISC_D2"); Utils.UDOChild child3 = new Utils.UDOChild("SOL_PRDDISC_D3"); Utils.UDOChild[] childs = { child1, child2, child3 }; string[] FormColumnAlias = { "Code", "U_SOL_AREA", "U_SOL_CSTGRPCODE", "U_SOL_CSTGRPNAME" , "U_SOL_STARTDATE", "U_SOL_ENDDATE", "U_SOL_DISCTYPE" }; string[] FormColumnDescription = { "Code", "Area", "Customer Group Code", "Customer Group Name" , "Start Date", "End Date", "Discount Type" }; SAPbobsCOM.BoYesNoEnum[] FormColumnEditable = { BoYesNoEnum.tNO, BoYesNoEnum.tYES, BoYesNoEnum.tYES , BoYesNoEnum.tYES, BoYesNoEnum.tYES, BoYesNoEnum.tYES , BoYesNoEnum.tYES }; Utils.CreateUDOTemplate(oSBOCompany, "PRDDISC", "Periodic Discount Master Data", BoUDOObjType.boud_MasterData, "SOL_PRDDISC_H" , BoYesNoEnum.tYES, BoYesNoEnum.tYES, BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tNO , BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tNO, BoYesNoEnum.tYES , "ASOL_PRDDISC_H", null, null, 0, 0, FormColumnAlias, FormColumnDescription, FormColumnAlias , FormColumnDescription, FormColumnEditable, childs); }