@globisnv/cypress-core 0.0.1 → 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -7
  3. package/dist/apiMethods/IGS_request.d.ts +0 -98
  4. package/dist/apiMethods/IGS_request.js +0 -161
  5. package/dist/apiMethods/IGS_response.d.ts +0 -47
  6. package/dist/apiMethods/IGS_response.js +0 -1
  7. package/dist/blueprints/GLO_addressPopup.d.ts +0 -45
  8. package/dist/blueprints/GLO_addressPopup.js +0 -96
  9. package/dist/blueprints/GLO_article.d.ts +0 -45
  10. package/dist/blueprints/GLO_article.js +0 -110
  11. package/dist/blueprints/GLO_articleLot.d.ts +0 -12
  12. package/dist/blueprints/GLO_articleLot.js +0 -23
  13. package/dist/blueprints/GLO_articleVersion.d.ts +0 -4
  14. package/dist/blueprints/GLO_articleVersion.js +0 -4
  15. package/dist/blueprints/GLO_attachmentPopup.d.ts +0 -9
  16. package/dist/blueprints/GLO_attachmentPopup.js +0 -10
  17. package/dist/blueprints/GLO_bankAccount.d.ts +0 -7
  18. package/dist/blueprints/GLO_bankAccount.js +0 -7
  19. package/dist/blueprints/GLO_billingProcess.d.ts +0 -4
  20. package/dist/blueprints/GLO_billingProcess.js +0 -4
  21. package/dist/blueprints/GLO_billingProposal.d.ts +0 -9
  22. package/dist/blueprints/GLO_billingProposal.js +0 -9
  23. package/dist/blueprints/GLO_cancel.d.ts +0 -7
  24. package/dist/blueprints/GLO_cancel.js +0 -7
  25. package/dist/blueprints/GLO_commandlist.d.ts +0 -10
  26. package/dist/blueprints/GLO_commandlist.js +0 -10
  27. package/dist/blueprints/GLO_complaint.d.ts +0 -27
  28. package/dist/blueprints/GLO_complaint.js +0 -51
  29. package/dist/blueprints/GLO_composition.d.ts +0 -14
  30. package/dist/blueprints/GLO_composition.js +0 -20
  31. package/dist/blueprints/GLO_consignment.d.ts +0 -61
  32. package/dist/blueprints/GLO_consignment.js +0 -104
  33. package/dist/blueprints/GLO_consignmentContainerGroup.d.ts +0 -6
  34. package/dist/blueprints/GLO_consignmentContainerGroup.js +0 -6
  35. package/dist/blueprints/GLO_consignmentGoods.d.ts +0 -40
  36. package/dist/blueprints/GLO_consignmentGoods.js +0 -62
  37. package/dist/blueprints/GLO_consignmentHandling.d.ts +0 -4
  38. package/dist/blueprints/GLO_consignmentHandling.js +0 -4
  39. package/dist/blueprints/GLO_consignmentOrder.d.ts +0 -31
  40. package/dist/blueprints/GLO_consignmentOrder.js +0 -37
  41. package/dist/blueprints/GLO_consignmentPart.d.ts +0 -13
  42. package/dist/blueprints/GLO_consignmentPart.js +0 -13
  43. package/dist/blueprints/GLO_consignmentParts.d.ts +0 -5
  44. package/dist/blueprints/GLO_consignmentParts.js +0 -12
  45. package/dist/blueprints/GLO_consignmentPrice.d.ts +0 -11
  46. package/dist/blueprints/GLO_consignmentPrice.js +0 -19
  47. package/dist/blueprints/GLO_consignmentSupplier.d.ts +0 -6
  48. package/dist/blueprints/GLO_consignmentSupplier.js +0 -11
  49. package/dist/blueprints/GLO_contacts.d.ts +0 -10
  50. package/dist/blueprints/GLO_contacts.js +0 -14
  51. package/dist/blueprints/GLO_container.d.ts +0 -6
  52. package/dist/blueprints/GLO_container.js +0 -4
  53. package/dist/blueprints/GLO_contract.d.ts +0 -22
  54. package/dist/blueprints/GLO_contract.js +0 -30
  55. package/dist/blueprints/GLO_contractArticle.d.ts +0 -17
  56. package/dist/blueprints/GLO_contractArticle.js +0 -35
  57. package/dist/blueprints/GLO_contractArticleCost.d.ts +0 -5
  58. package/dist/blueprints/GLO_contractArticleCost.js +0 -8
  59. package/dist/blueprints/GLO_countryVatZone.d.ts +0 -8
  60. package/dist/blueprints/GLO_countryVatZone.js +0 -9
  61. package/dist/blueprints/GLO_currencyDeviation.d.ts +0 -14
  62. package/dist/blueprints/GLO_currencyDeviation.js +0 -15
  63. package/dist/blueprints/GLO_customerArticle.d.ts +0 -12
  64. package/dist/blueprints/GLO_customerArticle.js +0 -15
  65. package/dist/blueprints/GLO_customsFlow.d.ts +0 -8
  66. package/dist/blueprints/GLO_customsFlow.js +0 -19
  67. package/dist/blueprints/GLO_customsFlowDefinition.d.ts +0 -15
  68. package/dist/blueprints/GLO_customsFlowDefinition.js +0 -14
  69. package/dist/blueprints/GLO_customsUnion.d.ts +0 -4
  70. package/dist/blueprints/GLO_customsUnion.js +0 -4
  71. package/dist/blueprints/GLO_deliveryReceipt.d.ts +0 -10
  72. package/dist/blueprints/GLO_deliveryReceipt.js +0 -22
  73. package/dist/blueprints/GLO_departureSchedule.d.ts +0 -27
  74. package/dist/blueprints/GLO_departureSchedule.js +0 -57
  75. package/dist/blueprints/GLO_departureScheduleTimes.d.ts +0 -49
  76. package/dist/blueprints/GLO_departureScheduleTimes.js +0 -61
  77. package/dist/blueprints/GLO_document.d.ts +0 -7
  78. package/dist/blueprints/GLO_document.js +0 -7
  79. package/dist/blueprints/GLO_documentAttachment.d.ts +0 -4
  80. package/dist/blueprints/GLO_documentAttachment.js +0 -4
  81. package/dist/blueprints/GLO_documentDefinitionEntity.d.ts +0 -5
  82. package/dist/blueprints/GLO_documentDefinitionEntity.js +0 -5
  83. package/dist/blueprints/GLO_documentGroup.d.ts +0 -4
  84. package/dist/blueprints/GLO_documentGroup.js +0 -4
  85. package/dist/blueprints/GLO_documentType.d.ts +0 -12
  86. package/dist/blueprints/GLO_documentType.js +0 -11
  87. package/dist/blueprints/GLO_enterCountry.d.ts +0 -21
  88. package/dist/blueprints/GLO_enterCountry.js +0 -47
  89. package/dist/blueprints/GLO_enterDiscount.d.ts +0 -8
  90. package/dist/blueprints/GLO_enterDiscount.js +0 -9
  91. package/dist/blueprints/GLO_equipment.d.ts +0 -34
  92. package/dist/blueprints/GLO_equipment.js +0 -55
  93. package/dist/blueprints/GLO_equipmentCategory.d.ts +0 -15
  94. package/dist/blueprints/GLO_equipmentCategory.js +0 -14
  95. package/dist/blueprints/GLO_equipmentEntity.d.ts +0 -5
  96. package/dist/blueprints/GLO_equipmentEntity.js +0 -5
  97. package/dist/blueprints/GLO_equipmentServiceCategory.d.ts +0 -13
  98. package/dist/blueprints/GLO_equipmentServiceCategory.js +0 -13
  99. package/dist/blueprints/GLO_equipmentType.d.ts +0 -21
  100. package/dist/blueprints/GLO_equipmentType.js +0 -20
  101. package/dist/blueprints/GLO_equipmentTypeServiceCategory.d.ts +0 -13
  102. package/dist/blueprints/GLO_equipmentTypeServiceCategory.js +0 -12
  103. package/dist/blueprints/GLO_fieldInputValidation.d.ts +0 -46
  104. package/dist/blueprints/GLO_fieldInputValidation.js +0 -73
  105. package/dist/blueprints/GLO_formula.d.ts +0 -9
  106. package/dist/blueprints/GLO_formula.js +0 -9
  107. package/dist/blueprints/GLO_gang.d.ts +0 -12
  108. package/dist/blueprints/GLO_gang.js +0 -12
  109. package/dist/blueprints/GLO_holiday.d.ts +0 -7
  110. package/dist/blueprints/GLO_holiday.js +0 -8
  111. package/dist/blueprints/GLO_journey.d.ts +0 -18
  112. package/dist/blueprints/GLO_journey.js +0 -24
  113. package/dist/blueprints/GLO_journeyStop.d.ts +0 -32
  114. package/dist/blueprints/GLO_journeyStop.js +0 -44
  115. package/dist/blueprints/GLO_layout.d.ts +0 -6
  116. package/dist/blueprints/GLO_layout.js +0 -6
  117. package/dist/blueprints/GLO_logging.d.ts +0 -9
  118. package/dist/blueprints/GLO_logging.js +0 -12
  119. package/dist/blueprints/GLO_logisticConnection.d.ts +0 -10
  120. package/dist/blueprints/GLO_logisticConnection.js +0 -11
  121. package/dist/blueprints/GLO_logisticConnectionType.d.ts +0 -5
  122. package/dist/blueprints/GLO_logisticConnectionType.js +0 -5
  123. package/dist/blueprints/GLO_logisticContract.d.ts +0 -28
  124. package/dist/blueprints/GLO_logisticContract.js +0 -80
  125. package/dist/blueprints/GLO_logisticContractDetail.d.ts +0 -42
  126. package/dist/blueprints/GLO_logisticContractDetail.js +0 -122
  127. package/dist/blueprints/GLO_logisticContractDetailHandling.d.ts +0 -11
  128. package/dist/blueprints/GLO_logisticContractDetailHandling.js +0 -14
  129. package/dist/blueprints/GLO_logisticContractDetailItem.d.ts +0 -5
  130. package/dist/blueprints/GLO_logisticContractDetailItem.js +0 -8
  131. package/dist/blueprints/GLO_logisticContractItem.d.ts +0 -14
  132. package/dist/blueprints/GLO_logisticContractItem.js +0 -40
  133. package/dist/blueprints/GLO_logisticContractItemActivity.d.ts +0 -4
  134. package/dist/blueprints/GLO_logisticContractItemActivity.js +0 -4
  135. package/dist/blueprints/GLO_logisticContractItemSurcharge.d.ts +0 -7
  136. package/dist/blueprints/GLO_logisticContractItemSurcharge.js +0 -7
  137. package/dist/blueprints/GLO_logisticContractItemSurchargeItem.d.ts +0 -4
  138. package/dist/blueprints/GLO_logisticContractItemSurchargeItem.js +0 -4
  139. package/dist/blueprints/GLO_logisticContractReference.d.ts +0 -4
  140. package/dist/blueprints/GLO_logisticContractReference.js +0 -4
  141. package/dist/blueprints/GLO_logisticContractVolumeConstraint.d.ts +0 -9
  142. package/dist/blueprints/GLO_logisticContractVolumeConstraint.js +0 -8
  143. package/dist/blueprints/GLO_logisticLocation.d.ts +0 -7
  144. package/dist/blueprints/GLO_logisticLocation.js +0 -7
  145. package/dist/blueprints/GLO_logisticPriceRequestDetailExternalPrice.d.ts +0 -19
  146. package/dist/blueprints/GLO_logisticPriceRequestDetailExternalPrice.js +0 -30
  147. package/dist/blueprints/GLO_logisticPurchaseOrder.d.ts +0 -4
  148. package/dist/blueprints/GLO_logisticPurchaseOrder.js +0 -4
  149. package/dist/blueprints/GLO_logistic_waiting_hours.d.ts +0 -6
  150. package/dist/blueprints/GLO_logistic_waiting_hours.js +0 -6
  151. package/dist/blueprints/GLO_operationalDefault.d.ts +0 -23
  152. package/dist/blueprints/GLO_operationalDefault.js +0 -25
  153. package/dist/blueprints/GLO_outputDetailMail.d.ts +0 -14
  154. package/dist/blueprints/GLO_outputDetailMail.js +0 -13
  155. package/dist/blueprints/GLO_postalcode.d.ts +0 -6
  156. package/dist/blueprints/GLO_postalcode.js +0 -6
  157. package/dist/blueprints/GLO_priceDependency.d.ts +0 -5
  158. package/dist/blueprints/GLO_priceDependency.js +0 -4
  159. package/dist/blueprints/GLO_priceEntry.d.ts +0 -17
  160. package/dist/blueprints/GLO_priceEntry.js +0 -17
  161. package/dist/blueprints/GLO_priceRequest.d.ts +0 -8
  162. package/dist/blueprints/GLO_priceRequest.js +0 -20
  163. package/dist/blueprints/GLO_priceRequestLine.d.ts +0 -12
  164. package/dist/blueprints/GLO_priceRequestLine.js +0 -17
  165. package/dist/blueprints/GLO_principal.d.ts +0 -9
  166. package/dist/blueprints/GLO_principal.js +0 -13
  167. package/dist/blueprints/GLO_printPopup.d.ts +0 -10
  168. package/dist/blueprints/GLO_printPopup.js +0 -62
  169. package/dist/blueprints/GLO_production.d.ts +0 -9
  170. package/dist/blueprints/GLO_production.js +0 -9
  171. package/dist/blueprints/GLO_productionLineMaterial.d.ts +0 -8
  172. package/dist/blueprints/GLO_productionLineMaterial.js +0 -13
  173. package/dist/blueprints/GLO_productionMaterial.d.ts +0 -5
  174. package/dist/blueprints/GLO_productionMaterial.js +0 -5
  175. package/dist/blueprints/GLO_purchaseCosts.d.ts +0 -6
  176. package/dist/blueprints/GLO_purchaseCosts.js +0 -9
  177. package/dist/blueprints/GLO_purchaseInvoice.d.ts +0 -12
  178. package/dist/blueprints/GLO_purchaseInvoice.js +0 -25
  179. package/dist/blueprints/GLO_purchaseInvoiceLine.d.ts +0 -8
  180. package/dist/blueprints/GLO_purchaseInvoiceLine.js +0 -13
  181. package/dist/blueprints/GLO_purchaseOrder.d.ts +0 -14
  182. package/dist/blueprints/GLO_purchaseOrder.js +0 -25
  183. package/dist/blueprints/GLO_purchaseOrderLine.d.ts +0 -10
  184. package/dist/blueprints/GLO_purchaseOrderLine.js +0 -24
  185. package/dist/blueprints/GLO_purchasePrices.d.ts +0 -10
  186. package/dist/blueprints/GLO_purchasePrices.js +0 -10
  187. package/dist/blueprints/GLO_quotation.d.ts +0 -12
  188. package/dist/blueprints/GLO_quotation.js +0 -32
  189. package/dist/blueprints/GLO_quotationLine.d.ts +0 -12
  190. package/dist/blueprints/GLO_quotationLine.js +0 -28
  191. package/dist/blueprints/GLO_receipt.d.ts +0 -13
  192. package/dist/blueprints/GLO_receipt.js +0 -17
  193. package/dist/blueprints/GLO_receiptFromTempReceipt.d.ts +0 -8
  194. package/dist/blueprints/GLO_receiptFromTempReceipt.js +0 -8
  195. package/dist/blueprints/GLO_receiptLine.d.ts +0 -22
  196. package/dist/blueprints/GLO_receiptLine.js +0 -28
  197. package/dist/blueprints/GLO_relationAddress.d.ts +0 -26
  198. package/dist/blueprints/GLO_relationAddress.js +0 -58
  199. package/dist/blueprints/GLO_relationBankAccount.d.ts +0 -9
  200. package/dist/blueprints/GLO_relationBankAccount.js +0 -9
  201. package/dist/blueprints/GLO_relationContact.d.ts +0 -23
  202. package/dist/blueprints/GLO_relationContact.js +0 -45
  203. package/dist/blueprints/GLO_relationGroupType.d.ts +0 -7
  204. package/dist/blueprints/GLO_relationGroupType.js +0 -6
  205. package/dist/blueprints/GLO_relations.d.ts +0 -67
  206. package/dist/blueprints/GLO_relations.js +0 -186
  207. package/dist/blueprints/GLO_relationtype.d.ts +0 -15
  208. package/dist/blueprints/GLO_relationtype.js +0 -31
  209. package/dist/blueprints/GLO_remarkType.d.ts +0 -10
  210. package/dist/blueprints/GLO_remarkType.js +0 -9
  211. package/dist/blueprints/GLO_remarkTypeDefaultValue.d.ts +0 -4
  212. package/dist/blueprints/GLO_remarkTypeDefaultValue.js +0 -14
  213. package/dist/blueprints/GLO_remarkTypeEntityType.d.ts +0 -10
  214. package/dist/blueprints/GLO_remarkTypeEntityType.js +0 -9
  215. package/dist/blueprints/GLO_representative.d.ts +0 -7
  216. package/dist/blueprints/GLO_representative.js +0 -6
  217. package/dist/blueprints/GLO_salesInvoice.d.ts +0 -9
  218. package/dist/blueprints/GLO_salesInvoice.js +0 -15
  219. package/dist/blueprints/GLO_salesInvoiceLine.d.ts +0 -9
  220. package/dist/blueprints/GLO_salesInvoiceLine.js +0 -13
  221. package/dist/blueprints/GLO_salesOrder.d.ts +0 -13
  222. package/dist/blueprints/GLO_salesOrder.js +0 -25
  223. package/dist/blueprints/GLO_salesOrderLine.d.ts +0 -13
  224. package/dist/blueprints/GLO_salesOrderLine.js +0 -34
  225. package/dist/blueprints/GLO_stockCorrection.d.ts +0 -14
  226. package/dist/blueprints/GLO_stockCorrection.js +0 -24
  227. package/dist/blueprints/GLO_stopSchedule.d.ts +0 -4
  228. package/dist/blueprints/GLO_stopSchedule.js +0 -4
  229. package/dist/blueprints/GLO_supplierArticle.d.ts +0 -8
  230. package/dist/blueprints/GLO_supplierArticle.js +0 -8
  231. package/dist/blueprints/GLO_tclSetting.d.ts +0 -6
  232. package/dist/blueprints/GLO_tclSetting.js +0 -6
  233. package/dist/blueprints/GLO_todo.d.ts +0 -10
  234. package/dist/blueprints/GLO_todo.js +0 -21
  235. package/dist/blueprints/GLO_todoSchedule.d.ts +0 -23
  236. package/dist/blueprints/GLO_todoSchedule.js +0 -79
  237. package/dist/blueprints/GLO_tractionDistance.d.ts +0 -6
  238. package/dist/blueprints/GLO_tractionDistance.js +0 -6
  239. package/dist/blueprints/GLO_transportOrder.d.ts +0 -4
  240. package/dist/blueprints/GLO_transportOrder.js +0 -4
  241. package/dist/blueprints/GLO_transportPrice.d.ts +0 -18
  242. package/dist/blueprints/GLO_transportPrice.js +0 -34
  243. package/dist/blueprints/GLO_transportRequirement.d.ts +0 -18
  244. package/dist/blueprints/GLO_transportRequirement.js +0 -32
  245. package/dist/blueprints/GLO_transportRequirementContainer.d.ts +0 -8
  246. package/dist/blueprints/GLO_transportRequirementContainer.js +0 -8
  247. package/dist/blueprints/GLO_transportRequirementGoods.d.ts +0 -33
  248. package/dist/blueprints/GLO_transportRequirementGoods.js +0 -51
  249. package/dist/blueprints/GLO_transportScenarioExecutionLeg.d.ts +0 -6
  250. package/dist/blueprints/GLO_transportScenarioExecutionLeg.js +0 -6
  251. package/dist/blueprints/GLO_transportStock.d.ts +0 -4
  252. package/dist/blueprints/GLO_transportStock.js +0 -4
  253. package/dist/blueprints/GLO_visit.d.ts +0 -9
  254. package/dist/blueprints/GLO_visit.js +0 -10
  255. package/dist/blueprints/GLO_warehouseMove.d.ts +0 -9
  256. package/dist/blueprints/GLO_warehouseMove.js +0 -9
  257. package/dist/blueprints/GLO_warehouseOrderSubline.d.ts +0 -6
  258. package/dist/blueprints/GLO_warehouseOrderSubline.js +0 -11
  259. package/dist/blueprints/GLO_workflowLoggingTable.d.ts +0 -20
  260. package/dist/blueprints/GLO_workflowLoggingTable.js +0 -20
  261. package/dist/blueprints/GLO_workflowVerification.d.ts +0 -10
  262. package/dist/blueprints/GLO_workflowVerification.js +0 -19
  263. package/dist/blueprints/GLO_zone.d.ts +0 -9
  264. package/dist/blueprints/GLO_zone.js +0 -9
  265. package/dist/blueprints/GLO_zone_postalcode.d.ts +0 -12
  266. package/dist/blueprints/GLO_zone_postalcode.js +0 -10
  267. package/dist/blueprints/GLO_zone_type.d.ts +0 -8
  268. package/dist/blueprints/GLO_zone_type.js +0 -7
  269. package/dist/blueprints/GLT_goods.d.ts +0 -2
  270. package/dist/blueprints/GLT_goods.js +0 -12
  271. package/dist/commands/FOB_commands.d.ts +0 -124
  272. package/dist/commands/FOB_commands.js +0 -211
  273. package/dist/commands/GLJ_commands.d.ts +0 -28
  274. package/dist/commands/GLJ_commands.js +0 -40
  275. package/dist/commands/GLO_commands.d.ts +0 -685
  276. package/dist/commands/GLO_commands.js +0 -2315
  277. package/dist/commands/GLS_commands.d.ts +0 -63
  278. package/dist/commands/GLS_commands.js +0 -103
  279. package/dist/commands/GLT_commands.d.ts +0 -78
  280. package/dist/commands/GLT_commands.js +0 -148
  281. package/dist/commands/POR_commands.d.ts +0 -85
  282. package/dist/commands/POR_commands.js +0 -122
  283. package/dist/config.d.ts +0 -9
  284. package/dist/config.js +0 -115
  285. package/dist/index.d.ts +0 -2
  286. package/dist/index.js +0 -15
  287. package/dist/plugins/prometheusWriter.d.ts +0 -15
  288. package/dist/plugins/prometheusWriter.js +0 -111
  289. package/dist/register.d.ts +0 -8
  290. package/dist/register.js +0 -23
  291. package/dist/tsHelper.d.ts +0 -161
  292. package/dist/tsHelper.js +0 -294
  293. package/dist/types.d.ts +0 -363
  294. package/dist/types.js +0 -4
  295. package/dist/websocketDetector.d.ts +0 -71
  296. package/dist/websocketDetector.js +0 -1593
@@ -1,25 +0,0 @@
1
- import { close, equal, equalBool, input, open } from '../tsHelper.js';
2
- const formName = 'ng$purchaseorder_dtl';
3
- const generalFormName = 'ng$purchaseorder_dtl_general';
4
- const detailTabsName = 'tabs_70';
5
- export const GLO_enterPurchaseOrder = (obj) => {
6
- cy.GLO_addInput(['ng$purchaseorder_dtl', 'purchaseorder_type_id'], obj.purchaseOrderType);
7
- cy.GLO_addInput(['ng$purchaseorder_dtl', 'purchaseorder_subtype_id'], obj.purchaseOrderSubType);
8
- cy.GLO_addInput(['ng$purchaseorder_dtl', 'warehouse_id'], obj.warehouse);
9
- cy.GLO_addDate(input, [formName, 'requested_delivery_date'], obj.requestedDeliveryDate);
10
- cy.GLO_addDate(input, [formName, 'expected_delivery_date'], obj.expectedDeliveryDate);
11
- if (obj.relationCode || obj.yourReference || obj.ourReference || obj.deliveryRelationCode || obj.deliveryRelationAddress || obj.paymentCondition) {
12
- cy.GLO_selectTab([formName, detailTabsName], 'General', open);
13
- if (obj.relationCode) {
14
- cy.GLO_popupWindow([generalFormName, 'relation_code'], obj.relationCode, 'relation_code', equalBool);
15
- cy.GLO_checkField([generalFormName, 'relation_code'], obj.relationCode, equal, 30000);
16
- cy.GLO_dialogChoice('OK');
17
- }
18
- cy.GLO_addInput([generalFormName, 'reference_supplier'], obj.yourReference);
19
- cy.GLO_addInput([generalFormName, 'our_reference'], obj.ourReference);
20
- cy.GLO_addInput([generalFormName, 'paymentcondition_id'], obj.paymentCondition);
21
- cy.GLO_popupWindow([generalFormName, 'delivery_relation_code'], obj.deliveryRelationCode);
22
- cy.GLO_popupWindow([generalFormName, 'delivery_relation_address'], obj.deliveryRelationAddress);
23
- cy.GLO_selectTab([formName, detailTabsName], 'General', close);
24
- }
25
- };
@@ -1,10 +0,0 @@
1
- export type objPurchaseOrderLine = {
2
- articleCode?: number | string;
3
- quantity?: number;
4
- quantityBase?: number;
5
- generalPrice?: number;
6
- expectedDeliveryDate?: string;
7
- remarks?: string;
8
- inputQtyPerUnitId?: string;
9
- };
10
- export declare const GLO_enterPurchaseOrderLine: (obj: objPurchaseOrderLine) => void;
@@ -1,24 +0,0 @@
1
- import { close, equal, open } from '../tsHelper.js';
2
- export const GLO_enterPurchaseOrderLine = (obj) => {
3
- const formName = 'ng$purchaseorderline_dtl';
4
- const detailTabsName = 'tabs_245';
5
- cy.GLO_popupWindow([formName, 'article_code'], obj.articleCode);
6
- cy.GLO_checkField([formName, 'article_code'], obj.articleCode, equal, 30000);
7
- if (obj.articleCode)
8
- cy.GLO_dialogChoice('OK'); // No price found dialog possible here.
9
- if (obj.quantity || obj.generalPrice || obj.inputQtyPerUnitId) {
10
- cy.GLO_selectTab([formName, detailTabsName], 'General', open);
11
- cy.GLO_addInput([`${formName}_general`, 'input_qty_per_unit_id'], obj.inputQtyPerUnitId);
12
- cy.GLO_addInput([`${formName}_general`, 'input_qty'], obj.quantity);
13
- cy.GLO_addInput([`${formName}_general`, 'quantity'], obj.quantityBase);
14
- cy.GLO_checkField([`${formName}_general`, 'quantity'], obj.quantityBase);
15
- cy.GLO_addInput([`${formName}_general`, 'price'], obj.generalPrice);
16
- cy.GLO_checkField([`${formName}_general`, 'price'], obj.generalPrice);
17
- cy.GLO_selectTab([formName, detailTabsName], 'General', close);
18
- }
19
- if (obj.remarks) {
20
- cy.GLO_selectTab([formName, detailTabsName], 'Remarks', open);
21
- cy.GLO_addInput([`${formName}_remarks`, 'remarks'], obj.remarks);
22
- cy.GLO_selectTab([formName, detailTabsName], 'Remarks', close);
23
- }
24
- };
@@ -1,10 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- export type objPurchasePrice = {
3
- quantity?: number;
4
- grossPrice?: number;
5
- pricePer?: number;
6
- flagActive?: CheckState;
7
- validFrom?: string;
8
- validTill?: string;
9
- };
10
- export declare const GLO_enterPurchasePrice: (obj: objPurchasePrice) => void;
@@ -1,10 +0,0 @@
1
- import { input } from '../tsHelper.js';
2
- const formName = 'ng$purchase_price_dtl';
3
- export const GLO_enterPurchasePrice = (obj) => {
4
- cy.GLO_addInput([formName, 'quantity'], obj.quantity);
5
- cy.GLO_addInput([formName, 'gross_price'], obj.grossPrice);
6
- cy.GLO_addInput([formName, 'price_per'], obj.pricePer);
7
- cy.GLO_checkbox([formName, 'is_active'], obj.flagActive);
8
- cy.GLO_addDate(input, [formName, 'valid_from'], obj.validFrom);
9
- cy.GLO_addDate(input, [formName, 'valid_till'], obj.validTill);
10
- };
@@ -1,12 +0,0 @@
1
- import { type objRelationAddress } from './GLO_relationAddress.js';
2
- export type objQuotation = {
3
- relationCode?: string;
4
- deliveryCondition?: string;
5
- contractName?: string;
6
- customerReference?: string;
7
- validityDate?: string;
8
- ourReference?: string;
9
- oneTimeAddress?: objRelationAddress;
10
- };
11
- export declare const GLO_enterQuotation: (obj: objQuotation) => void;
12
- export declare const GLO_enterQuotationNew: (obj: objQuotation) => void;
@@ -1,32 +0,0 @@
1
- import { close, input, open } from '../tsHelper.js';
2
- import { GLO_enterRelationAddressOneTimeUse } from './GLO_relationAddress.js';
3
- const formName = 'ng$quotations_dtl';
4
- export const GLO_enterQuotation = (obj) => {
5
- enterQuotation('ng$quotations_dtl', obj);
6
- };
7
- export const GLO_enterQuotationNew = (obj) => {
8
- enterQuotation('ng$quotation_light_dtl', obj);
9
- };
10
- const enterQuotation = (formNameTab, obj) => {
11
- const formNameGeneral = `${formName}_general`;
12
- cy.GLO_addDate(input, [formName, 'quotation_date'], obj.validityDate);
13
- // Tab General
14
- if (obj.relationCode || obj.deliveryCondition || obj.contractName || obj.customerReference) {
15
- cy.GLO_selectTab([formNameTab, 'tabs_70'], 'General', open);
16
- if (obj.relationCode) {
17
- cy.GLO_popupWindow([formNameGeneral, 'relation_code'], obj.relationCode);
18
- cy.GLO_dialogChoice('OK');
19
- cy.GLO_checkLoadingIndicator();
20
- }
21
- if (obj.oneTimeAddress) {
22
- cy.GLO_clickButton([formNameGeneral, 'btn_select_delivery_addressc'], 'fa-plus');
23
- GLO_enterRelationAddressOneTimeUse(obj.oneTimeAddress);
24
- cy.GLO_clickButton(['ng$relation_address_one_time_use', 'btn_save']);
25
- }
26
- cy.GLO_addInput([formNameGeneral, 'deliverycondition_id'], obj.deliveryCondition);
27
- cy.GLO_addInput([formNameGeneral, 'customer_reference'], obj.customerReference);
28
- cy.GLO_addInput([formNameGeneral, 'our_reference'], obj.ourReference);
29
- cy.GLO_addInput([formNameGeneral, 'our_reference'], obj.contractName);
30
- cy.GLO_selectTab([formNameTab, 'tabs_70'], 'General', close);
31
- }
32
- };
@@ -1,12 +0,0 @@
1
- export type objQuotationLine = {
2
- articleCode?: string | number;
3
- quantityBreaks?: quantityBreak[];
4
- };
5
- type quantityBreak = {
6
- quantity?: number;
7
- price?: number;
8
- promotionalDiscountPerc?: number;
9
- };
10
- export declare const GLO_enterQuotationLine: (obj: objQuotationLine) => void;
11
- export declare const GLO_enterQuotationLineNew: (obj: objQuotationLine) => void;
12
- export {};
@@ -1,28 +0,0 @@
1
- import { close, open } from '../tsHelper.js';
2
- export const GLO_enterQuotationLine = (obj) => {
3
- enterQuotationLine(false, obj);
4
- };
5
- export const GLO_enterQuotationLineNew = (obj) => {
6
- enterQuotationLine(true, obj);
7
- };
8
- const enterQuotationLine = (useNew, obj) => {
9
- const formName = useNew ? 'ng$quotationline_light_dtl' : 'ng$quotationlines_dtl';
10
- const formNameBreak = 'ng$quotationlines_dtl_quantity_breaks';
11
- const formNameInnerBreak = 'ng$quotationlines_dtl_quantity';
12
- const articleSelector = useNew ? 'article_code' : 'btn_select_article';
13
- cy.GLO_popupWindow([formName, articleSelector], obj.articleCode);
14
- if (obj.quantityBreaks && obj.quantityBreaks.length > 0) {
15
- cy.GLO_selectTab([formName, 'tabs_470'], 'Quantity breaks', open);
16
- obj.quantityBreaks.forEach((qtyBreak, index) => {
17
- const i = index + 1;
18
- cy.GLO_addInput([formNameBreak, `input_quantity_${i}`], qtyBreak.quantity);
19
- cy.GLO_getElement([formNameBreak, `tabs_break_${i}`], { timeout: 15000 })
20
- .should('be.visible')
21
- .within(() => {
22
- cy.GLO_addInput([formNameInnerBreak, 'price'], qtyBreak.price);
23
- cy.GLO_addInput([formNameInnerBreak, 'promotional_discount_perc'], qtyBreak.promotionalDiscountPerc);
24
- });
25
- });
26
- cy.GLO_selectTab([formName, 'tabs_470'], 'Quantity breaks', close);
27
- }
28
- };
@@ -1,13 +0,0 @@
1
- export type objReceipt = {
2
- relationCode?: string;
3
- originRelationCode?: string;
4
- addressCode?: string;
5
- warehouseLocation?: string;
6
- logisticLocationCode?: string;
7
- quayCode?: string;
8
- replacementReceiptId?: string | JQuery;
9
- externalReceiptNr?: string;
10
- transportMethod?: string;
11
- relation_code?: string;
12
- };
13
- export declare const GLO_enterReceipt$Logistics: (obj: objReceipt) => void;
@@ -1,17 +0,0 @@
1
- import { open } from '../tsHelper.js';
2
- export const GLO_enterReceipt$Logistics = (obj) => {
3
- const formName = 'ng$receipt$logistics_dtl';
4
- const formNameTransport = 'ng$receipt_dtl_transport';
5
- cy.GLO_addInput([formName, 'external_receipt_nr'], obj.externalReceiptNr);
6
- cy.GLO_addInput([formName, 'replacement_receipt_id'], obj.replacementReceiptId);
7
- cy.GLO_addInput([formName, 'relation'], obj.relationCode);
8
- cy.GLO_popupWindow([formName, 'origin'], obj.originRelationCode);
9
- cy.GLO_addInput([formName, 'relation_address_id'], obj.addressCode);
10
- cy.GLO_addInput([formName, 'warehouse_location_id'], obj.warehouseLocation);
11
- cy.GLO_addInput([formName, 'logistic_location_quay_code'], obj.quayCode);
12
- cy.GLO_addInput([formName, 'logistic_location_code'], obj.logisticLocationCode);
13
- if (obj.transportMethod) {
14
- cy.GLO_selectTab([formName, 'tabs_270'], 'Transport', open);
15
- cy.GLO_addInput([formNameTransport, 'transport_method'], obj.transportMethod);
16
- }
17
- };
@@ -1,8 +0,0 @@
1
- export type objReceiptFromTempReceipt = {
2
- transportMethod?: string;
3
- transporter?: string;
4
- driverName?: string;
5
- receiptLocation?: string;
6
- licensPlate?: string;
7
- };
8
- export declare const GLO_enterReceiptFromTempReceipt: (obj: objReceiptFromTempReceipt) => void;
@@ -1,8 +0,0 @@
1
- export const GLO_enterReceiptFromTempReceipt = (obj) => {
2
- const formName = 'ng$create_receipt_from_temp_receipt_dlg';
3
- cy.GLO_addInput([formName, 'transport_method'], obj.transportMethod);
4
- cy.GLO_popupWindow([formName, 'transporter'], obj.transporter);
5
- cy.GLO_addInput([formName, 'truck_license_plate'], obj.licensPlate);
6
- cy.GLO_addInput([formName, 'driver_name'], obj.driverName);
7
- cy.GLO_addInput([formName, 'receipt_location'], obj.receiptLocation);
8
- };
@@ -1,22 +0,0 @@
1
- export type objReceiptLine = {
2
- articleCode?: string;
3
- quantity_to_receive?: number;
4
- quantity?: number;
5
- unitCode?: string;
6
- transportRequirementNr?: string | JQuery;
7
- externalTransportRequirementNr?: string | JQuery;
8
- transportRequirementGoodsSequenceNr?: number;
9
- externalTransportRequirementGoodsSequenceNr?: number | string;
10
- externalLotNr?: string;
11
- transportReference?: string;
12
- stockRef1?: string;
13
- stockRef2?: string;
14
- stockRef3?: string;
15
- stockRef4?: string;
16
- replacementReceiptline?: string;
17
- consignmentNr?: string;
18
- goodsLength?: number;
19
- goodsWidth?: number;
20
- goodsHeight?: number;
21
- };
22
- export declare const GLO_enterReceiptLine$Logistics: (obj: objReceiptLine) => void;
@@ -1,28 +0,0 @@
1
- import { close, open } from '../tsHelper.js';
2
- export const GLO_enterReceiptLine$Logistics = (obj) => {
3
- const formName = 'ng$receiptline$logistics_dtl';
4
- const detailTabsName = 'tabs_70';
5
- const formNameStockRef = 'ng$receiptline_dtl_stock_ref';
6
- cy.GLO_addInput([formName, 'article_code'], obj.articleCode);
7
- cy.GLO_addInput([formName, 'quantity_to_receive'], obj.quantity_to_receive);
8
- cy.GLO_addInput([formName, 'quantity'], obj.quantity);
9
- cy.GLO_addInput([formName, 'articleunit_to_receive'], obj.unitCode);
10
- cy.GLO_addInput([formName, 'transport_requirement_nr'], obj.transportRequirementNr);
11
- cy.GLO_addInput([formName, 'external_transport_requirement_nr'], obj.externalTransportRequirementNr);
12
- cy.GLO_addInput([formName, 'consignment'], obj.consignmentNr);
13
- cy.GLO_addInput([formName, 'transport_requirement_goods_sequence_nr'], obj.transportRequirementGoodsSequenceNr);
14
- cy.GLO_addInput([formName, 'external_transport_requirement_goods_sequence_nr'], obj.externalTransportRequirementGoodsSequenceNr);
15
- cy.GLO_addInput([formName, 'external_lot_nr'], obj.externalLotNr);
16
- cy.GLO_addInput([formName, 'transport_reference'], obj.transportReference);
17
- cy.GLO_addInput([formName, 'goods_length'], obj.goodsLength);
18
- cy.GLO_addInput([formName, 'goods_width'], obj.goodsWidth);
19
- cy.GLO_addInput([formName, 'goods_height'], obj.goodsHeight);
20
- if (obj.stockRef1 || obj.stockRef2 || obj.stockRef3 || obj.stockRef4) {
21
- cy.GLO_selectTab([formName, detailTabsName], 'Stock references', open);
22
- cy.GLO_addInput([formNameStockRef, 'stock_ref_1'], obj.stockRef1);
23
- cy.GLO_addInput([formNameStockRef, 'stock_ref_2'], obj.stockRef2);
24
- cy.GLO_addInput([formNameStockRef, 'stock_ref_3'], obj.stockRef3);
25
- cy.GLO_addInput([formNameStockRef, 'stock_ref_4'], obj.stockRef4);
26
- cy.GLO_selectTab([formName, detailTabsName], 'Stock references', close);
27
- }
28
- };
@@ -1,26 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- export type objRelationAddress = {
3
- addressCode?: string;
4
- name?: string;
5
- countryCode?: string;
6
- postalcode?: string | number;
7
- city?: string;
8
- streetName?: string;
9
- flagManualCoordinates?: CheckState;
10
- flagPostAddress?: CheckState;
11
- flagDeliveryAddress?: CheckState;
12
- flagInvoiceAddress?: CheckState;
13
- flagLegalAddress?: CheckState;
14
- flagVisitAddress?: CheckState;
15
- flagStoreAddress?: CheckState;
16
- subAddress?: string;
17
- houseNumber?: number;
18
- phoneNr?: string;
19
- mobileNr?: string;
20
- emailaddress?: string;
21
- languageCode?: string;
22
- representative?: string;
23
- logisticLocationId?: string;
24
- };
25
- export declare const GLO_enterRelationAddress: (obj: objRelationAddress) => void;
26
- export declare const GLO_enterRelationAddressOneTimeUse: (obj: objRelationAddress) => void;
@@ -1,58 +0,0 @@
1
- import { close, equalBool, open } from '../tsHelper.js';
2
- const formName = 'ng$relation_address_dtl';
3
- const formNameCommunication = `${formName}_communication`;
4
- const formNameOneTimeUse = 'ng$relation_address_one_time_use';
5
- const formNameOperational = 'ng$relation_address_dtl_operational';
6
- export const GLO_enterRelationAddress = (obj) => {
7
- cy.GLO_addInput([formName, 'address_code'], obj.addressCode);
8
- cy.GLO_addInput([formName, 'name'], obj.name);
9
- cy.GLO_popupWindow([formName, 'country'], obj.countryCode);
10
- cy.GLO_addInput([formName, 'city'], obj.city);
11
- if (obj.streetName) {
12
- cy.get('body').then(($body) => {
13
- if ($body.find(`[data-cy$="${formName}.streetname"]`).length > 0) {
14
- cy.GLO_addInput([formName, 'streetname'], obj.streetName);
15
- }
16
- else {
17
- cy.GLO_addInput([formName, 'selector_streetname'], obj.streetName);
18
- }
19
- });
20
- }
21
- cy.GLO_addInput([formName, 'subaddress'], obj.subAddress);
22
- cy.GLO_addInput([formName, 'house_number'], obj.houseNumber);
23
- cy.GLO_checkbox([formName, 'flag_manual_coordinates'], obj.flagManualCoordinates);
24
- cy.GLO_checkbox([formName, 'flag_postaddress'], obj.flagPostAddress);
25
- cy.GLO_checkbox([formName, 'flag_deliveryaddress'], obj.flagDeliveryAddress);
26
- cy.GLO_checkbox([formName, 'flag_invoiceaddress'], obj.flagInvoiceAddress);
27
- cy.GLO_checkbox([formName, 'flag_legaladdress'], obj.flagLegalAddress);
28
- cy.GLO_checkbox([formName, 'flag_visitaddress'], obj.flagVisitAddress);
29
- cy.GLO_checkbox([formName, 'flag_store'], obj.flagStoreAddress);
30
- cy.GLO_addInput([formName, 'postal_code'], obj.postalcode);
31
- if (obj.phoneNr || obj.mobileNr || obj.emailaddress || obj.languageCode || obj.representative)
32
- enterCommunicationTab(obj);
33
- if (obj.logisticLocationId) {
34
- enterOperationalTab(obj);
35
- }
36
- };
37
- const enterCommunicationTab = (obj) => {
38
- cy.GLO_selectTab([formName, 'tabs_365'], 'Communication', open);
39
- cy.GLO_addInput([formNameCommunication, 'telephone_nr'], obj.phoneNr);
40
- cy.GLO_addInput([formNameCommunication, 'gsm_nr'], obj.mobileNr);
41
- cy.GLO_addInput([formNameCommunication, 'emailaddress'], obj.emailaddress);
42
- cy.GLO_addInput([formNameCommunication, 'language_code'], obj.languageCode);
43
- cy.GLO_addInput([formNameCommunication, 'representative_id'], obj.representative);
44
- cy.GLO_selectTab([formName, 'tabs_365'], 'Communication', close);
45
- };
46
- const enterOperationalTab = (obj) => {
47
- cy.GLO_selectTab([formName, 'tabs_365'], 'Operational', open);
48
- cy.GLO_popupWindow([formNameOperational, 'logistic_location_id'], obj.logisticLocationId, 'logistic_location_code', equalBool);
49
- cy.GLO_selectTab([formName, 'tabs_365'], 'Operational', close);
50
- };
51
- export const GLO_enterRelationAddressOneTimeUse = (obj) => {
52
- cy.GLO_addInput([formNameOneTimeUse, 'name'], obj.name);
53
- cy.GLO_addInput([formNameOneTimeUse, 'streetname'], obj.streetName);
54
- cy.GLO_addInput([formNameOneTimeUse, 'postal_code'], obj.postalcode);
55
- cy.GLO_addInput([formNameOneTimeUse, 'city'], obj.city);
56
- cy.GLO_addInput([formNameOneTimeUse, 'country_id'], obj.countryCode);
57
- cy.GLO_addInput([formNameOneTimeUse, 'gsm_nr'], obj.mobileNr);
58
- };
@@ -1,9 +0,0 @@
1
- export type objRelationBankAccount = {
2
- bankAccountType?: string;
3
- iban?: string;
4
- bic?: string;
5
- country?: string;
6
- currency?: string;
7
- bankAccountNr?: string;
8
- };
9
- export declare const GLO_enterRelationBankAccount: (obj: objRelationBankAccount) => void;
@@ -1,9 +0,0 @@
1
- export const GLO_enterRelationBankAccount = (obj) => {
2
- const formName = 'ng$bank_account_dtl';
3
- cy.GLO_addInput([formName, 'bank_account_type'], obj.bankAccountType);
4
- cy.GLO_addInput([formName, 'bic'], obj.bic);
5
- cy.GLO_addInput([formName, 'iban'], obj.iban);
6
- cy.GLO_addInput([formName, 'bank_account_nr'], obj.bankAccountNr);
7
- cy.GLO_addInput([formName, 'bank_country_1'], obj.country);
8
- cy.GLO_addInput([formName, 'currency_id'], obj.currency);
9
- };
@@ -1,23 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- export type objrelationContact = {
3
- firstname?: string;
4
- lastname?: string;
5
- title?: string;
6
- telephoneNr?: string;
7
- emailaddress?: string;
8
- flagContactForAR?: CheckState;
9
- flagContactForCarrierInstruction?: CheckState;
10
- flagContactForAP?: CheckState;
11
- flagContactForStockListing?: CheckState;
12
- gender?: string;
13
- nationality?: string;
14
- relationDepartment?: string;
15
- relationFunction?: string;
16
- relationFlagPurchaseInvoice?: CheckState;
17
- relationFlagSalesDelivery?: CheckState;
18
- relationFlagPriceRequest?: CheckState;
19
- termOfAddressShort?: string;
20
- termOfAddressLong?: string;
21
- mobileNr?: string;
22
- };
23
- export declare const GLO_enterRelationContact: (obj: objrelationContact) => void;
@@ -1,45 +0,0 @@
1
- import { close, open } from '../tsHelper.js';
2
- const formName = 'ng$relation_contact_dtl_general';
3
- const formNameDetail = 'ng$relations_relation_contact_dtl';
4
- const formNameCommunication = 'ng$relation_contact_dtl_communication';
5
- const formNameRelation = `${formNameDetail}_relation`;
6
- export const GLO_enterRelationContact = (obj) => {
7
- cy.GLO_addInput([formName, 'firstname'], obj.firstname);
8
- cy.GLO_addInput([formName, 'lastname'], obj.lastname);
9
- cy.GLO_addInput([formName, 'title'], obj.title);
10
- cy.GLO_radioButton([formName, 'gender'], obj.gender);
11
- cy.GLO_addInput([formName, 'nationality_country_id'], obj.nationality);
12
- if (obj.relationDepartment || obj.relationFunction || obj.relationFlagPurchaseInvoice)
13
- enterRelationTab(obj);
14
- // Communication tab
15
- if (obj.telephoneNr || obj.emailaddress)
16
- enterCommunicationTab(obj);
17
- // Contact attributes tab
18
- if (obj.flagContactForAR !== undefined || obj.flagContactForCarrierInstruction !== undefined || obj.flagContactForAP !== undefined) {
19
- cy.GLO_selectTab([formNameDetail, 'tabs_relation_contact_dtl_relation'], 'Contact attributes', open);
20
- cy.GLO_checkbox(['attribute_value_f1dc4d02_315b_49f9_b674_2dc43780076b'], obj.flagContactForAR);
21
- cy.GLO_checkbox(['attribute_value_0dd9efcd_50cb_4398_be1d_962c3329ebc1'], obj.flagContactForCarrierInstruction);
22
- cy.GLO_checkbox(['attribute_value_fe11be09_8e21_4109_be82_c3c022854d7c'], obj.flagContactForAP);
23
- cy.GLO_selectTab([formNameDetail, 'tabs_relation_contact_dtl_relation'], 'Contact attributes', close);
24
- }
25
- if (obj.flagContactForStockListing !== undefined) {
26
- cy.GLO_selectTab([formNameDetail, 'tabs_relation_contact_dtl_relation'], 'Contact attributes', open);
27
- cy.GLO_checkbox(['attribute_value_3bd1ebf5_896e_420c_a24a_21015caa1b2c'], obj.flagContactForStockListing);
28
- cy.GLO_selectTab([formNameDetail, 'tabs_relation_contact_dtl_relation'], 'Contact attributes', close);
29
- }
30
- };
31
- const enterRelationTab = (obj) => {
32
- cy.GLO_selectTab([formNameDetail, 'tabs_relation_contact_dtl_relation'], 'Relation', open);
33
- cy.GLO_addInput([formNameRelation, 'department'], obj.relationDepartment);
34
- cy.GLO_addInput([formNameRelation, 'function_in_company'], obj.relationFunction);
35
- cy.GLO_checkbox([formNameRelation, 'flag_purchase_invoice'], obj.relationFlagPurchaseInvoice);
36
- cy.GLO_checkbox([formNameRelation, 'flag_sales_delivery'], obj.relationFlagSalesDelivery);
37
- cy.GLO_checkbox([formNameRelation, 'flag_pricerequest'], obj.relationFlagPriceRequest);
38
- cy.GLO_selectTab([formNameDetail, 'tabs_relation_contact_dtl_relation'], 'Relation', close);
39
- };
40
- const enterCommunicationTab = (obj) => {
41
- cy.GLO_selectTab([formNameDetail, 'tabs_relation_contact_dtl_relation'], 'Communication', open);
42
- cy.GLO_addInput([formNameCommunication, 'telephone_nr'], obj.telephoneNr);
43
- cy.GLO_addInput([formNameCommunication, 'emailaddress'], obj.emailaddress);
44
- cy.GLO_selectTab([formNameDetail, 'tabs_relation_contact_dtl_relation'], 'Communication', close);
45
- };
@@ -1,7 +0,0 @@
1
- import type { CheckState } from '../tsHelper.js';
2
- export type objRelationGroupType = {
3
- relationGroupType?: string;
4
- flagCustomer?: CheckState;
5
- flagSupplier?: CheckState;
6
- };
7
- export declare const GLO_enterRelationGroupType: (obj: objRelationGroupType) => void;
@@ -1,6 +0,0 @@
1
- export const GLO_enterRelationGroupType = (obj) => {
2
- const formName = 'ng$relation_group_type_dtl';
3
- cy.GLO_addInput([formName, 'relation_group_type'], obj.relationGroupType);
4
- cy.GLO_checkbox([formName, 'flag_customer'], obj.flagCustomer);
5
- cy.GLO_checkbox([formName, 'flag_supplier'], obj.flagSupplier);
6
- };
@@ -1,67 +0,0 @@
1
- import { type CheckState } from '../tsHelper.js';
2
- import { type objAddressPopup } from './GLO_addressPopup.js';
3
- export type objRelation = {
4
- relationCode?: string;
5
- name?: string;
6
- countryGeneral?: string;
7
- postalCodeGeneral?: string;
8
- address?: objAddressPopup;
9
- cityGeneral?: string;
10
- streetnameGeneral?: string;
11
- houseNumberGeneral?: string;
12
- language?: string;
13
- legalForm?: string;
14
- representativeName?: string;
15
- emailaddress?: string;
16
- phoneNr?: string;
17
- mobileNr?: string;
18
- website?: string;
19
- paymentConditionId?: string;
20
- customerWayOfPaymentId?: string;
21
- deliveryConditionId?: string;
22
- invoiceCustomerCode?: string;
23
- relationtype?: string;
24
- flagInvoiceRelation?: CheckState;
25
- vatNr?: string;
26
- traderegisterNr?: string;
27
- relationStatus?: string;
28
- flagCustomer?: CheckState;
29
- flagSupplier?: CheckState;
30
- vatRegime?: string;
31
- electronicInvoice?: CheckState;
32
- supplierVatRegime?: string;
33
- supplierVatId?: string;
34
- supplierWayOfPaymentId?: string;
35
- supplierDeliveryconditionId?: string;
36
- supplierPaymentConditionId?: string;
37
- flagSplitWHOPerSO?: CheckState;
38
- flagSummaryDeliveries?: CheckState;
39
- flagSummaryInvoices?: CheckState;
40
- flagReadyForInvoicing?: CheckState;
41
- flagPrincipal?: CheckState;
42
- responsible?: string;
43
- vatRegimeCustomerTab?: string;
44
- extraSearchCode?: string;
45
- eori?: string;
46
- dunsNr?: string;
47
- flagPeppol?: CheckState;
48
- peppolCode?: string;
49
- debtorCode?: string;
50
- office?: string;
51
- newServiceLevel?: string;
52
- relationGroupType?: string;
53
- classification?: string;
54
- flagInternalRelation?: CheckState;
55
- flagTransporter?: CheckState;
56
- flagDangerousGoods?: CheckState;
57
- flagHighValueAllowed?: CheckState;
58
- flagTemperatureContolledAllowed?: CheckState;
59
- flagAlcoholAllowed?: CheckState;
60
- flagWasteAllowed?: CheckState;
61
- officeSupplier?: string;
62
- relationGroupTypeSupplier?: string;
63
- classificationSupplier?: string;
64
- };
65
- export declare const GLO_enterRelation: (obj: objRelation, formName?: string) => void;
66
- export declare const GLO_enterCustomer: (obj: objRelation) => void;
67
- export declare const GLO_enterSupplier: (obj: objRelation) => void;